mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 10:00:02 +01:00
- Changed item usage value on new method (#1692)
This commit is contained in:
parent
1ea17e593a
commit
aea58414b0
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user