![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Types | |
| enum | EtherealSoulTrader { NPC_ETHEREAL_SOUL_TRADER = 27914 , SPELL_OWNER_KILLED_INFORM = 50050 , SPELL_STEAL_ESSENCE_VISUAL = 50101 } |
Private Member Functions | |
| PrepareAuraScript (spell_gen_ethereal_pet_aura) | |
| bool | CheckProc (ProcEventInfo &eventInfo) |
| void | HandleProc (AuraEffect const *, ProcEventInfo &eventInfo) |
| void | Register () override |
|
private |
| Enumerator | |
|---|---|
| NPC_ETHEREAL_SOUL_TRADER | |
| SPELL_OWNER_KILLED_INFORM | |
| SPELL_STEAL_ESSENCE_VISUAL | |
|
inlineprivate |
References Unit::GetLevel(), ProcEventInfo::GetProcTarget(), and AuraScript::GetTarget().
Referenced by Register().
|
inlineprivate |
References Unit::GetAllMinionsByEntry(), ProcEventInfo::GetProcTarget(), AuraScript::GetUnitOwner(), NPC_ETHEREAL_SOUL_TRADER, AuraScript::PreventDefaultAction(), SPELL_OWNER_KILLED_INFORM, and SPELL_STEAL_ESSENCE_VISUAL.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleProc(), AuraScript::OnEffectProc, and SPELL_AURA_PROC_TRIGGER_SPELL.