mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-27 15:36:22 +00:00
Rogue bots can unlock items in their bags and in the trade window (#1055)
This commit is contained in:
@@ -71,6 +71,9 @@ Item* ItemForSpellValue::Calculate()
|
||||
if (!strcmpi(spellInfo->SpellName[0], "disenchant"))
|
||||
return nullptr;
|
||||
|
||||
if (!strcmpi(spellInfo->SpellName[0], "pick lock"))
|
||||
return nullptr;
|
||||
|
||||
for (uint8 slot = EQUIPMENT_SLOT_START; slot < EQUIPMENT_SLOT_END; slot++)
|
||||
{
|
||||
itemForSpell = GetItemFitsToSpellRequirements(slot, spellInfo);
|
||||
|
||||
Reference in New Issue
Block a user