AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_dk_wandering_plague_aura) | |
bool | CheckProc (ProcEventInfo &eventInfo) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
void | Register () override |
|
inlineprivate |
References BASE_ATTACK, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), ProcEventInfo::GetDamageInfo(), ProcEventInfo::GetSpellInfo(), Unit::GetUnitCriticalChance(), Unit::HasSpellCooldown(), roll_chance_f(), and SPELL_DK_WANDERING_PLAGUE_TRIGGER.
Referenced by Register().
|
inlineprivate |
References Unit::AddSpellCooldown(), Unit::CastCustomSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::PreventDefaultAction(), SPELL_DK_WANDERING_PLAGUE_TRIGGER, SPELLVALUE_BASE_POINT0, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.