mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +00:00
^cast adjustments for spellid casts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user