aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAI.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-16 16:52:57 -0500
committermegamage <none@none>2009-05-16 16:52:57 -0500
commitc583767ad681dfe006fbdcfe9768f096d19c347f (patch)
treecd635f772778880dc5722417874911d0faece1cd /src/game/CreatureAI.h
parenta0ba5dc20608c5f415f05bbd52480944909b4ad2 (diff)
*Update gluth script.
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureAI.h')
-rw-r--r--src/game/CreatureAI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h
index 8ebcb3eb5d8..fbc3e5c17b4 100644
--- a/src/game/CreatureAI.h
+++ b/src/game/CreatureAI.h
@@ -83,6 +83,7 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
bool UpdateVictim();
bool UpdateVictimByReact();
+ bool UpdateVictimWithGaze();
public:
explicit CreatureAI(Creature *c) : UnitAI((Unit*)c), me(c), m_creature(c) {}
@@ -167,6 +168,8 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
Unit* SelectTarget(SelectAggroTarget target, uint32 position = 0, float dist = 0, bool playerOnly = false, int32 aura = 0);
void SelectTargetList(std::list<Unit*> &targetList, uint32 num, SelectAggroTarget target, float dist = 0, bool playerOnly = false, int32 aura = 0);
+ void SetGazeOn(Unit *target);
+
static AISpellInfoType *AISpellInfo;
static void FillAISpellInfo();