diff options
author | megamage <none@none> | 2009-03-12 14:15:44 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-12 14:15:44 -0600 |
commit | 1fbfc6da645058a6da3073dafde0e6bca621e31c (patch) | |
tree | e8046c844ec548cdee29d8eee5c9ecfc1b9d9ec2 /src/game/CreatureAI.h | |
parent | ab6e9bd7b43b2bbce899a780cdd942ac137e7d99 (diff) |
*Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureAI.h')
-rw-r--r-- | src/game/CreatureAI.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h index fbfb8605866..1cfeb6555f2 100644 --- a/src/game/CreatureAI.h +++ b/src/game/CreatureAI.h @@ -81,6 +81,9 @@ class TRINITY_DLL_SPEC UnitAI // Called when unit is charmed virtual void OnCharmed(bool apply) = 0; + + //Do melee swing of current victim if in rnage and ready and not casting + void DoMeleeAttackIfReady(); }; class TRINITY_DLL_SPEC PlayerAI : public UnitAI |