diff options
| author | Shauren <shauren.trinity@gmail.com> | 2019-06-04 22:36:17 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2019-06-08 17:09:20 +0200 |
| commit | 82c7b6c5688495d90c4ee5995a4ff74039348296 (patch) | |
| tree | 8bdab07881f637c849b895cd764fd28e601aa577 /src/server/game/Handlers/LootHandler.cpp | |
| parent | 455959c6064af6f7863a6b4b57cb0ef1646bd8ef (diff) | |
Core/Items: Drop item random property and suffix - all random stats must be given using bonus lists
Diffstat (limited to 'src/server/game/Handlers/LootHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/LootHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/LootHandler.cpp b/src/server/game/Handlers/LootHandler.cpp index 3bd6173ae53..edffaa0d11b 100644 --- a/src/server/game/Handlers/LootHandler.cpp +++ b/src/server/game/Handlers/LootHandler.cpp @@ -533,7 +533,7 @@ void WorldSession::HandleLootMasterGiveOpcode(WorldPacket& recvData) } // now move item from loot to target inventory - Item* newitem = target->StoreNewItem(dest, item.itemid, true, item.randomPropertyId, item.GetAllowedLooters(), item.context, item.BonusListIDs); + Item* newitem = target->StoreNewItem(dest, item.itemid, true, item.randomBonusListId, item.GetAllowedLooters(), item.context, item.BonusListIDs); target->SendNewItem(newitem, uint32(item.count), false, false, true); target->UpdateCriteria(CRITERIA_TYPE_LOOT_ITEM, item.itemid, item.count); target->UpdateCriteria(CRITERIA_TYPE_LOOT_TYPE, item.itemid, item.count, loot->loot_type); |
