AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_item_necrotic_touch) | |
bool | Validate (SpellInfo const *) override |
bool | CheckProc (ProcEventInfo &eventInfo) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
void | Register () override |
|
inlineprivate |
References ProcEventInfo::GetProcTarget(), and Unit::IsAlive().
Referenced by Register().
|
inlineprivate |
References CalculatePct(), Unit::CastCustomSpell(), AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), ProcEventInfo::GetProcTarget(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), SPELL_ITEM_NECROTIC_TOUCH_PROC, and SPELLVALUE_BASE_POINT0.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_ITEM_NECROTIC_TOUCH_PROC, and _SpellScript::ValidateSpellInfo().