diff options
author | Richard <rblee88@gmail.com> | 2016-11-04 22:20:47 +1100 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-12-10 17:59:58 +0100 |
commit | 6c54fbbb03f909cb0f82857db50a9fce8a309f46 (patch) | |
tree | 850affd4dc3e3dfbbe7db6a67a81befd5ce830f6 /src/server/database/PrecompiledHeaders/databasePCH.cpp | |
parent | 1b7fb624d3a0fc5c5088790a3aeaf7453e298fae (diff) |
[3.3.5] Core/Loot: Fix conditional Master Loot (#17943)
* Core/Loot: Fix master looting of conditional items
follow_loot_rules was a flag intended to force certain quest items to be
master looted. It should not be used for the
NonQuestNonFFAConditionalLoot.
The flag was originally introduced in 869ea349
"Core/Loot: fix the way quest items are handled. so far ive only found 3
quest items that should be able to be masterlooted. added a new flag to
item_template.flagsCustom to allow for making a quest item always follow
loot rules. a bonus may be the fix of the handlelootmasteropcode crash!"
* Core/Loot: Rename QuestItem to NotNormalItem
QuestItem struct was being used for quest items, ffa items, and
conditional items. Renaming it to avoid confusion when working with ffa
and conditional items
* Core/Loot: Use existing AddAllowedLooter rather than reaching into allowedGUIDs directly
* Core/Loot: Rename NotNormalItem to NotNormalLootItem
(cherry picked from commit f5d3343f27f68c7837152fc592310397a686a83e)
# Conflicts:
# src/server/game/Entities/Item/Item.cpp
# src/server/game/Loot/LootMgr.cpp
# src/server/game/Loot/LootMgr.h
Diffstat (limited to 'src/server/database/PrecompiledHeaders/databasePCH.cpp')
0 files changed, 0 insertions, 0 deletions