![]() |
TrinityCore
|
Inheritance diagram for spell_mage_focus_magic:Private Member Functions | |
| PrepareAuraScript (spell_mage_focus_magic) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &) |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo &) |
| void | Register () override |
Private Attributes | |
| Unit * | _procTarget = nullptr |
Definition at line 580 of file spell_mage.cpp.
|
inlineprivate |
Definition at line 589 of file spell_mage.cpp.
References _procTarget, AuraScript::GetCaster(), and Unit::IsAlive().
Referenced by Register().
|
inlineprivate |
Definition at line 595 of file spell_mage.cpp.
References _procTarget, WorldObject::CastSpell(), AuraScript::GetTarget(), AuraScript::PreventDefaultAction(), and SPELL_MAGE_FOCUS_MAGIC_PROC.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 601 of file spell_mage.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_MOD_SPELL_CRIT_CHANCE.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 584 of file spell_mage.cpp.
References SPELL_MAGE_FOCUS_MAGIC_PROC, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 607 of file spell_mage.cpp.
Referenced by CheckProc(), and HandleProc().