AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_mage_focus_magic) | |
bool | Validate (SpellInfo const *) override |
bool | Load () override |
bool | CheckProc (ProcEventInfo &) |
void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &) |
void | Register () override |
Private Attributes | |
Unit * | _procTarget |
|
inlineprivate |
References _procTarget, AuraScript::GetCaster(), and Unit::IsAlive().
Referenced by Register().
|
inlineprivate |
References _procTarget, Unit::CastSpell(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), and SPELL_MAGE_FOCUS_MAGIC_PROC.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References _procTarget.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_MOD_SPELL_CRIT_CHANCE.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_MAGE_FOCUS_MAGIC_PROC, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by CheckProc(), HandleProc(), and Load().