AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_mage_master_of_elements) | |
bool | Validate (SpellInfo const *) override |
bool | AfterCheckProc (ProcEventInfo &eventInfo, bool isTriggeredAtSpellProcEvent) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &eventInfo) |
void | Register () override |
Private Attributes | |
SpellInfo const * | _spellInfo = nullptr |
uint8 | _ticksModifier = 0 |
|
inlineprivate |
References _spellInfo, _ticksModifier, EFFECT_0, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), AuraScript::GetCaster(), ProcEventInfo::GetSpellInfo(), ProcEventInfo::GetTriggerAuraEffectIndex(), ProcEventInfo::GetTriggerAuraSpell(), and SpellInfo::Id.
Referenced by Register().
|
inlineprivate |
References _spellInfo, _ticksModifier, SpellInfo::CalcPowerCost(), CalculatePct(), AuraEffect::GetAmount(), ProcEventInfo::GetSchoolMask(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), SPELL_MAGE_MASTER_OF_ELEMENTS_ENERGIZE, and SPELLVALUE_BASE_POINT0.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AfterCheckProc(), AuraAfterCheckProcFn, AuraEffectProcFn, AuraScript::DoAfterCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_MAGE_MASTER_OF_ELEMENTS_ENERGIZE, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by AfterCheckProc(), and HandleProc().
|
private |
Referenced by AfterCheckProc(), and HandleProc().