![]() |
TrinityCore
|
Inheritance diagram for spell_sha_item_mana_surge:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect const *aurEff, ProcEventInfo const &eventInfo) |
| void | Register () override |
Static Private Member Functions | |
| static bool | CheckProc (AuraScript const &, ProcEventInfo const &eventInfo) |
Definition at line 1568 of file spell_shaman.cpp.
|
inlinestaticprivate |
Definition at line 1575 of file spell_shaman.cpp.
References ProcEventInfo::GetProcSpell().
Referenced by Register().
|
inlineprivate |
Definition at line 1580 of file spell_shaman.cpp.
References CalculatePct(), WorldObject::CastSpell(), Spell::GetPowerTypeCostAmount(), ProcEventInfo::GetProcSpell(), AuraScript::GetTarget(), POWER_MANA, AuraScript::PreventDefaultAction(), SPELL_SHAMAN_ITEM_MANA_SURGE, SPELLVALUE_BASE_POINT0, TRIGGERED_FULL_MASK, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1598 of file spell_shaman.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 1570 of file spell_shaman.cpp.
References SPELL_SHAMAN_ITEM_MANA_SURGE, and SpellScriptBase::ValidateSpellInfo().