![]() |
TrinityCore
|
Inheritance diagram for spell_item_mana_drain:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleProc (AuraEffect *aurEff, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 3565 of file spell_item.cpp.
|
inlineprivate |
Definition at line 3576 of file spell_item.cpp.
References WorldObject::CastSpell(), ProcEventInfo::GetActionTarget(), ProcEventInfo::GetActor(), Unit::IsAlive(), AuraScript::PreventDefaultAction(), SPELL_MANA_DRAIN_ENERGIZE, and SPELL_MANA_DRAIN_LEECH.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 3590 of file spell_item.cpp.
References AuraEffectProcFn, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 3567 of file spell_item.cpp.
References SPELL_MANA_DRAIN_ENERGIZE, SPELL_MANA_DRAIN_LEECH, and SpellScriptBase::ValidateSpellInfo().