*Add DoCastAOE for script to cast AOE spells. Because AOE spells do not require any target.

*Corresponding update of Kalecgos script.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-15 13:19:18 -06:00
parent 0e757d8b69
commit 90313ed650
3 changed files with 15 additions and 7 deletions
@@ -121,6 +121,7 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
//Cast spell by Id
void DoCast(Unit* victim, uint32 spellId, bool triggered = false);
void DoCastAOE(uint32 spellId, bool triggered = false);
//Cast spell by spell info
void DoCastSpell(Unit* who,SpellEntry const *spellInfo, bool triggered = false);