diff options
| author | megamage <none@none> | 2008-10-28 16:28:42 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2008-10-28 16:28:42 -0500 |
| commit | 5e809c2a6bc87d342324b54582dfe6d0c538dedc (patch) | |
| tree | e37a4949ca22500b559dac6bae4538299fc642af /src/game/CreatureAI.h | |
| parent | 8ded7dce048078e1b8f027d5dcc4cd3dfb93439f (diff) | |
[svn] Add new function SelectUnit and SelectUnitList to select target or targets with check "isPlayer" and "isWithinDist". Also add target type SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
SpellEffect Fix for 40802,29364,43723,41931. Patch provided by WarHead.
Update script of Fathom Lord. Patch provided by Blaymoira.
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureAI.h')
| -rw-r--r-- | src/game/CreatureAI.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h index 03782cc6764..d44ab81bd3a 100644 --- a/src/game/CreatureAI.h +++ b/src/game/CreatureAI.h @@ -65,6 +65,8 @@ 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 CreatureAI |
