mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[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:
parent
f726bd69a5
commit
4717f68984
4 changed files with 18 additions and 3 deletions
|
|
@ -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 =========================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue