fix party member dispel.

This commit is contained in:
Yunfan Li
2023-05-29 23:03:21 +08:00
parent aaa358bdbe
commit d45a7dc5b8
27 changed files with 316 additions and 89 deletions

View File

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