diff --git a/zone/bot.cpp b/zone/bot.cpp index f803ffce4..ef5012ce3 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -11894,7 +11894,7 @@ bool Bot::IsValidSpellTypeSubType(uint16 spellType, uint16 subType, uint16 spell break; case CommandedSubTypes::AETarget: - if (IsAnyAESpell(spell_id)) { + if (IsAnyAESpell(spell_id) && !IsGroupSpell(spell_id)) { return true; } diff --git a/zone/botspellsai.cpp b/zone/botspellsai.cpp index 93c38ccf6..c6ac70397 100644 --- a/zone/botspellsai.cpp +++ b/zone/botspellsai.cpp @@ -216,7 +216,7 @@ bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 spellType, uint16 subTarge break; } - std::list botSpellList = GetPrioritizedBotSpellsBySpellType(this, spellType, tar, IsAEBotSpellType(spellType), subTargetType, subType); + std::list botSpellList = GetPrioritizedBotSpellsBySpellType(this, spellType, tar, (IsAEBotSpellType(spellType) || subTargetType == CommandedSubTypes::AETarget), subTargetType, subType); for (const auto& s : botSpellList) {