AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_hun_pet_heart_of_the_phoenix) | |
bool | Load () override |
bool | Validate (SpellInfo const *) override |
SpellCastResult | CheckCast () |
void | HandleScript (SpellEffIndex) |
void | Register () override |
|
inlineprivate |
References SpellScript::GetCaster(), Unit::HasAura(), Unit::IsAlive(), SPELL_CAST_OK, SPELL_FAILED_CASTER_AURASTATE, SPELL_FAILED_TARGET_NOT_DEAD, and SPELL_HUNTER_PET_HEART_OF_THE_PHOENIX_DEBUFF.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), Unit::GetOwner(), Unit::HasAura(), SPELL_HUNTER_PET_HEART_OF_THE_PHOENIX_DEBUFF, SPELL_HUNTER_PET_HEART_OF_THE_PHOENIX_TRIGGERED, and SPELLVALUE_BASE_POINT0.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellScript::GetCaster().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References CheckCast(), EFFECT_0, HandleScript(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_HUNTER_PET_HEART_OF_THE_PHOENIX_DEBUFF, SPELL_HUNTER_PET_HEART_OF_THE_PHOENIX_TRIGGERED, and _SpellScript::ValidateSpellInfo().