mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
Allow pet types to ^cast, prevent failure spam, add cure check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user