Core/Quests: Add missing GO_DYNFLAG_LO_ACTIVATE to lootable chests related to quests but not having quest loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e586bb476f5d36df646539f5bb3d47a2101e9fc)
This commit is contained in:
@@ -1356,7 +1356,7 @@ namespace Game.Entities
|
||||
return false;
|
||||
|
||||
// scan GO chest with loot including quest items
|
||||
if (LootStorage.Gameobject.HaveQuestLootForPlayer(GetGoInfo().GetLootId(), target))
|
||||
if (target.GetQuestStatus(GetGoInfo().Chest.questID) == QuestStatus.Incomplete || LootStorage.Gameobject.HaveQuestLootForPlayer(GetGoInfo().GetLootId(), target))
|
||||
{
|
||||
Battleground bg = target.GetBattleground();
|
||||
if (bg)
|
||||
|
||||
Reference in New Issue
Block a user