|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | OnEffectHit (SpellEffIndex) |
| PrepareSpellScript (spell_warl_soul_swap_exhale_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 568 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 580 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 595 of file spell_warlock.cpp.
References Unit::AddAura(), Unit::CastSpell(), SpellScript::GetCaster(), spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::GetDotList(), SpellScript::GetHitUnit(), spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::GetOriginalSwapSource(), Unit::RemoveAurasDueToSpell(), SPELL_WARLOCK_SOUL_SWAP_MOD_COST, and SPELL_WARLOCK_SOUL_SWAP_OVERRIDE.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 624 of file spell_warlock.cpp.
References CheckCast(), EFFECT_0, SpellScript::OnCheckCast, OnEffectHit(), SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_SCHOOL_DAMAGE, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 572 of file spell_warlock.cpp.
References OVERRIDE, SPELL_WARLOCK_SOUL_SWAP_MOD_COST, SPELL_WARLOCK_SOUL_SWAP_OVERRIDE, and sSpellMgr.