|  | AzerothCore 3.3.5a
    OpenSource WoW Emulator | 
 
  
| 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 | 
| 
 | inlineprivate | 
References DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetTarget(), and Unit::IsAlive().
Referenced by Register().
| 
 | inlineprivate | 
References AddPct(), CalculatePct(), Unit::CastCustomSpell(), EFFECT_0, AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE, SPELL_WARLOCK_SIPHON_LIFE_HEAL, and SPELLVALUE_BASE_POINT0.
| 
 | private | 
| 
 | inlineoverrideprivatevirtual | 
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, AuraScript::OnEffectProc, AuraScript::OnProc, and SPELL_AURA_DUMMY.
| 
 | inlineoverrideprivatevirtual | 
Reimplemented from _SpellScript.
References SPELL_WARLOCK_GLYPH_OF_SIPHON_LIFE, SPELL_WARLOCK_SIPHON_LIFE_HEAL, and _SpellScript::ValidateSpellInfo().