*Update Kologarn script.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-30 18:38:54 -05:00
parent c07707ba47
commit 3ea312cad5
6 changed files with 72 additions and 35 deletions
+5
View File
@@ -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))