diff options
author | megamage <none@none> | 2009-08-30 18:38:54 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-30 18:38:54 -0500 |
commit | 3ea312cad572bca3bb3c15ad9eea7e54f7f04f07 (patch) | |
tree | d86c3447ef4da0b35a5b5e7ac943b13f0a6b6abf /src/game/CreatureAIImpl.h | |
parent | c07707ba47d75b18b84b5602aa5224078e1b40e3 (diff) |
*Update Kologarn script.
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureAIImpl.h')
-rw-r--r-- | src/game/CreatureAIImpl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/CreatureAIImpl.h b/src/game/CreatureAIImpl.h index 569c0fad9da..2ed0219ad6a 100644 --- a/src/game/CreatureAIImpl.h +++ b/src/game/CreatureAIImpl.h @@ -319,6 +319,11 @@ inline void UnitAI::DoCast(Unit* victim, uint32 spellId, bool triggered) me->CastSpell(victim, spellId, triggered); } +inline void UnitAI::DoCastVictim(uint32 spellId, bool triggered) +{ + me->CastSpell(me->getVictim(), spellId, triggered); +} + inline void UnitAI::DoCastAOE(uint32 spellId, bool triggered) { if(!triggered && me->hasUnitState(UNIT_STAT_CASTING)) |