|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| PrepareAuraScript (spell_item_necrotic_touch_AuraScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 583 of file spell_item.cpp.
|
inlineprivate |
Definition at line 594 of file spell_item.cpp.
References ProcEventInfo::GetProcTarget(), and Unit::IsAlive().
Referenced by Register().
|
inlineprivate |
Definition at line 599 of file spell_item.cpp.
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 |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 606 of file spell_item.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, OVERRIDE, and SPELL_AURA_DUMMY.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 587 of file spell_item.cpp.
References OVERRIDE, SPELL_ITEM_NECROTIC_TOUCH_PROC, and sSpellMgr.