From 4a4142747b4ba26667caba784e719f867ea5a141 Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Wed, 12 Oct 2016 00:13:46 +0200 Subject: [PATCH] Core/Loot: revert unique item check introduced in ea69115. Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions. --- src/server/game/Loot/LootMgr.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp index 7894c98e70..e1a80f3d20 100644 --- a/src/server/game/Loot/LootMgr.cpp +++ b/src/server/game/Loot/LootMgr.cpp @@ -399,10 +399,6 @@ bool LootItem::AllowedForPlayer(Player const* player) const if (!(pProto->FlagsCu & ITEM_FLAGS_CU_IGNORE_QUEST_STATUS) && ((needs_quest || (pProto->StartQuest && player->GetQuestStatus(pProto->StartQuest) != QUEST_STATUS_NONE)) && !player->HasQuestForItem(itemid))) return false; - // Don't show non-epic and non-legendary bind-when-picked-up unique items if player already has the maximum allowed quantity. - if (pProto->Bonding == BIND_WHEN_PICKED_UP && pProto->Quality < ITEM_QUALITY_EPIC && pProto->MaxCount && int32(player->GetItemCount(itemid, true)) >= pProto->MaxCount) - return false; - return true; }