![]() |
TrinityCore
|
Inheritance diagram for spell_mage_gen_extra_effects:Private Member Functions | |
| PrepareAuraScript (spell_mage_gen_extra_effects) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 612 of file spell_mage.cpp.
|
inlineprivate |
Definition at line 626 of file spell_mage.cpp.
References EFFECT_0, ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), Unit::GetAuraEffect(), roll_chance_i(), and SPELL_MAGE_T8_4P_BONUS.
Referenced by Register().
|
inlineprivate |
Definition at line 641 of file spell_mage.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActor(), Unit::HasAura(), SPELL_MAGE_T10_2P_BONUS, and SPELL_MAGE_T10_2P_BONUS_EFFECT.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 649 of file spell_mage.cpp.
References AuraCheckProcFn, AuraProcFn, CheckProc(), AuraScript::DoCheckProc, HandleProc(), and AuraScript::OnProc.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 616 of file spell_mage.cpp.
References SPELL_MAGE_T10_2P_BONUS, SPELL_MAGE_T10_2P_BONUS_EFFECT, SPELL_MAGE_T8_4P_BONUS, and _SpellScript::ValidateSpellInfo().