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