diff options
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 ce2c7098623..c0b713c0d5a 100644 --- a/src/game/CreatureAI.h +++ b/src/game/CreatureAI.h @@ -121,6 +121,9 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI // Called when spell hits a target virtual void SpellHitTarget(Unit* target, const SpellEntry*) {} + // Called to get trigger target for aura effect + virtual Unit * GetAuraEffectTriggerTarget(uint32 spellId, uint8 effIndex) {return NULL;} + // Called when the creature is target of hostile action: swing, hostile spell landed, fear/etc) //virtual void AttackedBy(Unit* attacker); virtual bool IsEscorted() { return false; } |