Avoid aoe base

This commit is contained in:
Yunfan Li
2024-04-12 00:32:07 +08:00
parent 044c0980c9
commit 10799e689c
8 changed files with 49 additions and 9 deletions

View File

@@ -1482,6 +1482,16 @@ bool FleeWithPetAction::Execute(Event event)
return Flee(AI_VALUE(Unit*, "current target"));
}
bool AvoidAoeAction::isUseful()
{
return false;
}
bool AvoidAoeAction::Execute(Event event)
{
return false;
}
bool RunAwayAction::Execute(Event event)
{
return Flee(AI_VALUE(Unit*, "master target"));