![]() |
TrinityCore
|
Inheritance diagram for spell_warl_demonic_pact:Private Member Functions | |
| PrepareAuraScript (spell_warl_demonic_pact) | |
| bool | Validate (SpellInfo const *) override |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *, ProcEventInfo &eventInfo) |
| void | Register () override |
Definition at line 884 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 893 of file spell_warlock.cpp.
References ProcEventInfo::GetActor(), and Unit::IsPet().
Referenced by Register().
|
inlineprivate |
Definition at line 898 of file spell_warlock.cpp.
References CastSpellExtraArgs::AddSpellBP0(), CastSpellExtraArgs::AddSpellMod(), EFFECT_0, ProcEventInfo::GetActor(), WorldObject::GetOwner(), AuraScript::PreventDefaultAction(), SPELL_SCHOOL_MASK_MAGIC, SPELL_WARLOCK_DEMONIC_PACT_PROC, SPELLFAMILY_WARLOCK, SPELLVALUE_BASE_POINT1, and WARLOCK_ICON_ID_DEMONIC_PACT.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 915 of file spell_warlock.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 888 of file spell_warlock.cpp.
References SPELL_WARLOCK_DEMONIC_PACT_PROC, and _SpellScript::ValidateSpellInfo().