*Use ai function issummonedby to handle creature trigger spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-22 21:26:48 -05:00
parent 39accddb5f
commit 5c82ba864d
4 changed files with 14 additions and 19 deletions
+1
View File
@@ -104,6 +104,7 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
// Called when the creature summon successfully other creature
virtual void JustSummoned(Creature* ) {}
virtual void IsSummonedBy(Unit *summoner) {}
virtual void SummonedCreatureDespawn(Creature* /*unit*/) {}