[7586] New caster AI::SpellHitTarget call at casted spell landing to target (player/creature/pet/go)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Lightguard 2009-03-30 00:41:44 +04:00 committed by VladimirMangos
parent f726bd69a5
commit 4717f68984
4 changed files with 18 additions and 3 deletions

View file

@ -119,6 +119,9 @@ struct MANGOS_DLL_DECL ScriptedAI : public CreatureAI
// Called when hit by a spell
void SpellHit(Unit *, const SpellEntry*){}
// Called when spell hits creature's target
void SpellHitTarget(WorldObject*, const SpellEntry*) {}
Creature* m_creature;
//= Some useful helpers =========================