mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
- Changed item usage value on new method (#1692)
This commit is contained in:
@@ -59,7 +59,7 @@ ItemUsage ItemUsageValue::Calculate()
|
||||
if (bot->HasSpell(proto->Spells[2].SpellId))
|
||||
needItem = false;
|
||||
else
|
||||
needItem = bot->CanUseItem(proto) == EQUIP_ERR_OK;
|
||||
needItem = bot->BotCanUseItem(proto) == EQUIP_ERR_OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user