Allow pet types to ^cast, prevent failure spam, add cure check

This commit is contained in:
nytmyr
2024-12-24 08:56:23 -06:00
parent 8b7ffd7117
commit e652bc02b9
2 changed files with 30 additions and 43 deletions
+1 -1
View File
@@ -2025,7 +2025,7 @@ BotSpell Bot::GetBestBotSpellForCure(Bot* botCaster, Mob* tar, uint16 spellType)
}
}
if (botCaster->IsCommandedSpell() || botCaster->GetNeedsCured(m)) {
if (botCaster->GetNeedsCured(m)) {
if (botCaster->CastChecks(itr->SpellId, m, spellType, true, IsGroupBotSpellType(spellType))) {
if (m->FindType(SE_PoisonCounter)) {
++countPoisoned;