![]() |
TrinityCore
|
Inheritance diagram for spell_dk_raise_ally::spell_dk_raise_ally_AuraScript:Private Member Functions | |
| PrepareAuraScript (spell_dk_raise_ally_AuraScript) | |
| bool | Load () override |
| void | OnApply (AuraEffect const *, AuraEffectHandleModes) |
| void | OnRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Private Attributes | |
| ObjectGuid | ghoulGuid |
Definition at line 2440 of file spell_dk.cpp.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 2451 of file spell_dk.cpp.
References Object::GetTypeId(), AuraScript::GetUnitOwner(), and TYPEID_PLAYER.
|
inlineprivate |
Definition at line 2456 of file spell_dk.cpp.
References AuraScript::GetTarget(), ghoulGuid, ObjectGuid::IsEmpty(), Unit::PushAI(), and Object::ToPlayer().
Referenced by Register().
|
inlineprivate |
Definition at line 2465 of file spell_dk.cpp.
References Player::ClearResurrectRequestData(), ObjectAccessor::GetCreature(), AuraScript::GetTarget(), ghoulGuid, Unit::PopAI(), Unit::RemoveAura(), SPELL_GHOUL_FRENZY, and Object::ToPlayer().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 2482 of file spell_dk.cpp.
References AuraScript::AfterEffectApply, AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectRemoveFn, EFFECT_1, OnApply(), OnRemove(), and SPELL_AURA_DUMMY.
|
inline |
Definition at line 2445 of file spell_dk.cpp.
References ghoulGuid.
|
private |
Definition at line 2488 of file spell_dk.cpp.
Referenced by OnApply(), OnRemove(), and SetGhoulGuid().