![]() |
TrinityCore
|
Inheritance diagram for spell_dk_wandering_plague:Private Member Functions | |
| PrepareAuraScript (spell_dk_wandering_plague) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 2111 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 2120 of file spell_dk.cpp.
References BASE_ATTACK, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), Unit::GetUnitCriticalChanceAgainst(), and roll_chance_f().
Referenced by Register().
|
inlineprivate |
Definition at line 2129 of file spell_dk.cpp.
References CastSpellExtraArgs::AddSpellBP0(), CalculatePct(), WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::PreventDefaultAction(), and SPELL_DK_WANDERING_PLAGUE_DAMAGE.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2141 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 2115 of file spell_dk.cpp.
References SPELL_DK_WANDERING_PLAGUE_DAMAGE, and _SpellScript::ValidateSpellInfo().