![]() |
TrinityCore
|
Inheritance diagram for spell_warl_siphon_life:Private Member Functions | |
| PrepareAuraScript (spell_warl_siphon_life) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | OnProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 1148 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 1161 of file spell_warlock.cpp.
References DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetTarget(), and Unit::IsAlive().
Referenced by Register().
|
inlineprivate |
Definition at line 1170 of file spell_warlock.cpp.
References AddPct(), CastSpellExtraArgs::AddSpellBP0(), CalculatePct(), WorldObject::CastSpell(), EFFECT_0, AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE, and SPELL_WARLOCK_SIPHON_LIFE_HEAL.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 1184 of file spell_warlock.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, AuraScript::OnEffectProc, AuraScript::OnProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1152 of file spell_warlock.cpp.
References SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE, SPELL_WARLOCK_SIPHON_LIFE_HEAL, and _SpellScript::ValidateSpellInfo().