ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED should only affect Need before Greed loot method
--HG-- branch : trunk
This commit is contained in:
@@ -664,9 +664,6 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
|
||||
if (item->DisenchantID && m_maxEnchantingLevel >= item->RequiredDisenchantSkill)
|
||||
r->rollVoteMask |= ROLL_FLAG_TYPE_DISENCHANT;
|
||||
|
||||
if (item->Flags2 & ITEM_FLAGS_EXTRA_NEED_ROLL_DISABLED)
|
||||
r->rollVoteMask &= ~ROLL_FLAG_TYPE_NEED;
|
||||
|
||||
loot->items[itemSlot].is_blocked = true;
|
||||
|
||||
// If there is any "auto pass", broadcast the pass now.
|
||||
|
||||
Reference in New Issue
Block a user