205 uint32 heirloomItemId = heirloom->NextDifficultyItemID;
209 if (player->GetItemByEntry(heirloomDiff->ItemID))
210 newItemId = heirloomDiff->ItemID;
214 heirloomItemId = heirloomSub->ItemID;
224 uint8 offset = std::find(fields.begin(), fields.end(), itr->first) - fields.begin();
237 for (
uint32 bonusId : fields)
238 if (bonusId != itr->second.bonusId)
241 if (std::find(fields.begin(), fields.end(), itr->second.bonusId) == fields.end())
#define sDB2Manager
Definition: DB2Stores.h:224
void ClearDynamicValue(uint16 index)
Definition: Object.cpp:1370
Definition: DB2Structure.h:586
Player * GetPlayer() const
Definition: WorldSession.h:927
std::vector< uint32 > const & GetDynamicValues(uint16 index) const
Definition: Object.cpp:1338
void AddBonuses(uint32 bonusListID)
Definition: Item.cpp:1931
WorldSession * _owner
Definition: CollectionMgr.h:82
Definition: UpdateFields.h:310
Definition: UpdateFields.h:64
Definition: UpdateFields.h:309
uint32_t uint32
Definition: Define.h:150
HeirloomContainer _heirlooms
Definition: CollectionMgr.h:85
uint8_t uint8
Definition: Define.h:152
uint32 GetEntry() const
Definition: Object.h:107