aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-19 17:43:47 +0100
committern0n4m3 <none@none>2009-12-19 17:43:47 +0100
commit2925dfcfc45b836cd6608192c17c8227f6f8fffa (patch)
tree6a22d5f6d0f3af7f2ca06092bdd558da294c21de /src/game/Creature.h
parent86003a4039ac6e0f742f644f5100fc7a1c6f3da4 (diff)
Add own function to send AI_Reaction packet. by NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r--src/game/Creature.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h
index d1c08bb13e2..3a8338c1c67 100644
--- a/src/game/Creature.h
+++ b/src/game/Creature.h
@@ -640,6 +640,8 @@ class TRINITY_DLL_SPEC Creature : public Unit
bool canStartAttack(Unit const* u, bool force) const;
float GetAttackDistance(Unit const* pl) const;
+ void SendAIReaction(AiReaction reactionType);
+
Unit* SelectNearestTarget(float dist = 0) const;
void DoFleeToGetAssistance();
void CallForHelp(float fRadius);