From 80581e0e6f6c704d60ff8bffcc16fbaca1846efb Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 26 May 2022 21:47:37 -0400 Subject: [PATCH] Core/Loot: Allow master looter to see all quest items Port From (https://github.com/TrinityCore/TrinityCore/commit/9d4c57074f970cb07c5565d6617e18ac5493b1fe) --- Source/Game/Loot/Loot.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/Game/Loot/Loot.cs b/Source/Game/Loot/Loot.cs index 9fd7cc998..fffe5ab49 100644 --- a/Source/Game/Loot/Loot.cs +++ b/Source/Game/Loot/Loot.cs @@ -60,15 +60,9 @@ namespace Game.Loots if (pProto.HasFlag(ItemFlags2.FactionAlliance) && player.GetTeam() != Team.Alliance) return false; - // Master looter can see certain items even if the character can't loot them + // Master looter can see all items even if the character can't loot them if (!isGivenByMasterLooter && player.GetGroup() && player.GetGroup().GetMasterLooterGuid() == player.GetGUID()) - { - // check quest requirements - if (!pProto.FlagsCu.HasFlag(ItemFlagsCustom.IgnoreQuestStatus) && (needs_quest || pProto.GetStartQuest() != 0)) - return false; - return true; - } // Don't allow loot for players without profession or those who already know the recipe if (pProto.HasFlag(ItemFlags.HideUnusableRecipe))