![]() |
TrinityCore
|
Inheritance diagram for spell_dk_unholy_blight:Private Member Functions | |
| PrepareAuraScript (spell_dk_unholy_blight) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 2023 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 2036 of file spell_dk.cpp.
References DamageInfo::GetDamage(), and ProcEventInfo::GetDamageInfo().
Referenced by Register().
|
inlineprivate |
Definition at line 2042 of file spell_dk.cpp.
References AddPct(), CastSpellExtraArgs::AddSpellBP0(), ASSERT, CalculatePct(), WorldObject::CastSpell(), EFFECT_0, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), AuraEffect::GetAmount(), Unit::GetAuraEffect(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), Object::GetGUID(), SpellInfo::GetMaxTicks(), AuraScript::PreventDefaultAction(), SPELL_DK_GLYPH_OF_UNHOLY_BLIGHT, SPELL_DK_UNHOLY_BLIGHT_DAMAGE, and sSpellMgr.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2062 of file spell_dk.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 2027 of file spell_dk.cpp.
References SPELL_DK_GLYPH_OF_UNHOLY_BLIGHT, SPELL_DK_UNHOLY_BLIGHT_DAMAGE, and _SpellScript::ValidateSpellInfo().