![]() |
TrinityCore
|
Inheritance diagram for spell_pet_gen_lich_pet_aura:Private Member Functions | |
| PrepareAuraScript (spell_pet_gen_lich_pet_aura) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *, ProcEventInfo &) |
| void | Register () override |
Definition at line 195 of file pet_generic.cpp.
|
inlineprivate |
Definition at line 204 of file pet_generic.cpp.
References ProcEventInfo::GetActionTarget(), and Object::IsPlayer().
Referenced by Register().
|
inlineprivate |
Definition at line 209 of file pet_generic.cpp.
References WorldObject::CastSpell(), Unit::GetAllMinionsByEntry(), AuraScript::GetUnitOwner(), NPC_LICH_PET, AuraScript::PreventDefaultAction(), and SPELL_LICH_PET_AURA_ONKILL.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 221 of file pet_generic.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 199 of file pet_generic.cpp.
References SPELL_LICH_PET_AURA_ONKILL, and _SpellScript::ValidateSpellInfo().