![]() |
TrinityCore
|
Inheritance diagram for spell_warl_life_tap:Private Member Functions | |
| PrepareSpellScript (spell_warl_life_tap) | |
| bool | Load () override |
| bool | Validate (SpellInfo const *) override |
| void | HandleDummy (SpellEffIndex effIndex) |
| SpellCastResult | CheckCast () |
| void | Register () override |
Definition at line 742 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 790 of file spell_warlock.cpp.
References EFFECT_0, SpellScript::GetCaster(), SpellScript::GetEffectInfo(), SPELL_CAST_OK, and SPELL_FAILED_FIZZLE.
Referenced by Register().
|
inlineprivate |
Definition at line 756 of file spell_warlock.cpp.
References AddPct(), CastSpellExtraArgs::AddSpellBP0(), ApplyPct(), AsUnderlyingType(), Unit::CalculateSpellpowerCoefficientLevelPenalty(), SpellEffectInfo::CalcValue(), WorldObject::CastSpell(), Unit::GetAuraEffect(), SpellScript::GetCaster(), Unit::GetDummyAuraEffect(), SpellScript::GetEffectInfo(), SpellScript::GetSpellInfo(), Object::GetUInt32Value(), Unit::ModifyHealth(), PLAYER_FIELD_MOD_DAMAGE_DONE_POS, SPELL_AURA_ADD_FLAT_MODIFIER, SPELL_SCHOOL_SHADOW, SPELL_WARLOCK_LIFE_TAP_ENERGIZE, SPELL_WARLOCK_LIFE_TAP_ENERGIZE_2, SPELLFAMILY_WARLOCK, TRIGGERED_FULL_MASK, WARLOCK_ICON_ID_IMPROVED_LIFE_TAP, and WARLOCK_ICON_ID_MANA_FEED.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 746 of file spell_warlock.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 797 of file spell_warlock.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 751 of file spell_warlock.cpp.
References SPELL_WARLOCK_LIFE_TAP_ENERGIZE, SPELL_WARLOCK_LIFE_TAP_ENERGIZE_2, and _SpellScript::ValidateSpellInfo().