^cast adjustments for spellid casts

This commit is contained in:
nytmyr committed 2024-12-12 22:14:10 -06:00
1 parent 49e15d8944
commit 693abdd42c
3 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -551,7 +551,7 @@ void bot_command_cast(Client* c, const Seperator* sep)
SPDat_Spell_Struct spell = spells[chosenSpellID];
LogTestDebug("Starting bySpellID checks."); //deleteme
if (!bot_iter->HasBotSpellEntry(chosenSpellID)) {
if (!bot_iter->CanUseBotSpell(chosenSpellID)) {
LogTestDebug("{} does not have {} [#{}].", bot_iter->GetCleanName(), spell.name, chosenSpellID); //deleteme
continue;
}