diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h index ba5e14b33f2..2e7aee37c94 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -180,6 +180,13 @@ class SpellCastTargets uint64 m_CorpseTargetGUID; uint64 m_itemTargetGUID; uint32 m_itemTargetEntry; + + Unit* m_caster; + + uint64 m_originalCasterGUID; // real source of cast (aura caster/etc), used for spell targets selection + // e.g. damage around area spell trigered by victim aura and damage enemies of aura caster + Unit* m_originalCaster; // cached pointer for m_originalCaster, updated at Spell::UpdatePointers() + }; enum SpellState @@ -436,7 +443,7 @@ class Spell Unit* m_caster; uint64 m_originalCasterGUID; // real source of cast (aura caster/etc), used for spell targets selection - // e.g. damage around area spell trigered by victim aura and da,age emeies of aura caster + // e.g. damage around area spell trigered by victim aura and damage enemies of aura caster Unit* m_originalCaster; // cached pointer for m_originalCaster, updated at Spell::UpdatePointers() Spell** m_selfContainer; // pointer to our spell container (if applicable) |