|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | HandleDummy (SpellEffIndex) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_warl_life_tap_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 314 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 349 of file spell_warlock.cpp.
References EFFECT_2, SpellScript::GetCaster(), SpellScript::GetSpellInfo(), SPELL_CAST_OK, and SPELL_FAILED_FIZZLE.
Referenced by Register().
|
inlineprivate |
Definition at line 330 of file spell_warlock.cpp.
References AddPct(), CalculatePct(), Unit::CastCustomSpell(), Unit::CountPctFromMaxHealth(), EFFECT_1, EFFECT_2, SpellScript::GetCaster(), Unit::GetDummyAuraEffect(), SpellScript::GetHitUnit(), SpellScript::GetSpellInfo(), SPELL_WARLOCK_LIFE_TAP_ENERGIZE, SPELLFAMILY_WARLOCK, Object::ToPlayer(), and WARLOCK_ICON_ID_IMPROVED_LIFE_TAP.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 318 of file spell_warlock.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 356 of file spell_warlock.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 323 of file spell_warlock.cpp.
References OVERRIDE, SPELL_WARLOCK_LIFE_TAP_ENERGIZE, and sSpellMgr.