fix(spell): paladin and dk aggro spell, warrior

This commit is contained in:
Yunfan Li
2023-06-11 15:55:36 +08:00
parent b11fad1a46
commit 33576bd969
21 changed files with 117 additions and 62 deletions

View File

@@ -41,6 +41,6 @@ bool CastCasterFormAction::Execute(Event event)
}
bool CastTreeFormAction::isUseful() {
return GetTarget() && (GetTarget() != nullptr) && (GetTarget() != nullptr) &&
return GetTarget() &&
CastSpellAction::isUseful() && !botAI->HasAura(33891, bot);
}