diff options
Diffstat (limited to 'src/game/UnitAI.h')
| -rw-r--r-- | src/game/UnitAI.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/game/UnitAI.h b/src/game/UnitAI.h index b6f5f4fc561..d7b5da086be 100644 --- a/src/game/UnitAI.h +++ b/src/game/UnitAI.h @@ -22,12 +22,20 @@ #define TRINITY_UNITAI_H #include "Platform/Define.h" -#include "CreatureAIImpl.h" class Unit; class Player; struct AISpellInfoType; -enum SelectAggroTarget; + +//Selection method used by SelectTarget +enum SelectAggroTarget +{ + SELECT_TARGET_RANDOM = 0, //Just selects a random target + SELECT_TARGET_TOPAGGRO, //Selects targes from top aggro to bottom + SELECT_TARGET_BOTTOMAGGRO, //Selects targets from bottom aggro to top + SELECT_TARGET_NEAREST, + SELECT_TARGET_FARTHEST, +}; class TRINITY_DLL_SPEC UnitAI { |
