- Changed item usage value on new method (#1692)

This commit is contained in:
kadeshar
2025-10-02 00:10:19 +02:00
committed by GitHub
parent 1ea17e593a
commit aea58414b0

View File

@@ -59,7 +59,7 @@ ItemUsage ItemUsageValue::Calculate()
if (bot->HasSpell(proto->Spells[2].SpellId)) if (bot->HasSpell(proto->Spells[2].SpellId))
needItem = false; needItem = false;
else else
needItem = bot->CanUseItem(proto) == EQUIP_ERR_OK; needItem = bot->BotCanUseItem(proto) == EQUIP_ERR_OK;
} }
} }