mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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