diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-12-26 21:21:28 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-12-26 21:21:28 +0100 |
commit | 87427321497aad5ba3c6dbc1b7f4838f255e052b (patch) | |
tree | a3bbb5512bb04d957448fa7686dd27a998b94568 /src/server/game/Loot/LootMgr.h | |
parent | 9f81cf445ff47507a9469d57808df231460793f1 (diff) |
Core/Items: Implemented bonus list as a possible result of RandomSuffix
Ref #18423
Diffstat (limited to 'src/server/game/Loot/LootMgr.h')
-rw-r--r-- | src/server/game/Loot/LootMgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Loot/LootMgr.h b/src/server/game/Loot/LootMgr.h index 4fea6967ef4..b7d3ba2123b 100644 --- a/src/server/game/Loot/LootMgr.h +++ b/src/server/game/Loot/LootMgr.h @@ -155,7 +155,7 @@ struct TC_GAME_API LootItem { uint32 itemid; uint32 randomSuffix; - int32 randomPropertyId; + ItemRandomEnchantmentId randomPropertyId; int32 upgradeId; std::vector<int32> BonusListIDs; ConditionContainer conditions; // additional loot condition @@ -175,7 +175,7 @@ struct TC_GAME_API LootItem explicit LootItem(LootStoreItem const& li); // Empty constructor for creating an empty LootItem to be filled in with DB data - LootItem() : itemid(0), randomSuffix(0), randomPropertyId(0), upgradeId(0), count(0), is_looted(false), is_blocked(false), + LootItem() : itemid(0), randomSuffix(0), randomPropertyId(), upgradeId(0), count(0), is_looted(false), is_blocked(false), freeforall(false), is_underthreshold(false), is_counted(false), needs_quest(false), follow_loot_rules(false), canSave(true){ }; |