![]() |
TrinityCore
|
Inheritance diagram for spell_warl_soul_swap_exhale:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| SpellCastResult | CheckCast () |
| void | OnEffectHit (SpellEffIndex) |
| void | Register () override |
Definition at line 1597 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 1604 of file spell_warlock.cpp.
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and SPELL_WARLOCK_SOUL_SWAP_OVERRIDE.
Referenced by Register().
|
inlineprivate |
Definition at line 1619 of file spell_warlock.cpp.
References Unit::AddAura(), WorldObject::CastSpell(), SpellScript::GetCaster(), spell_warl_soul_swap_override::GetDotList(), SpellScript::GetHitUnit(), spell_warl_soul_swap_override::GetOriginalSwapSource(), Unit::HasAura(), Unit::RemoveAurasDueToSpell(), SPELL_WARLOCK_GLYPH_OF_SOUL_SWAP, SPELL_WARLOCK_SOUL_SWAP_CD_MARKER, SPELL_WARLOCK_SOUL_SWAP_MOD_COST, and SPELL_WARLOCK_SOUL_SWAP_OVERRIDE.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1652 of file spell_warlock.cpp.
References CheckCast(), EFFECT_0, SpellScript::OnCheckCast, SpellScript::OnEffectHit, SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCHOOL_DAMAGE, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1599 of file spell_warlock.cpp.
References SPELL_WARLOCK_SOUL_SWAP_MOD_COST, SPELL_WARLOCK_SOUL_SWAP_OVERRIDE, and SpellScriptBase::ValidateSpellInfo().