AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_pal_righteous_defense) | |
bool | Validate (SpellInfo const *) override |
SpellCastResult | CheckCast () |
void | HandleTriggerSpellLaunch (SpellEffIndex effIndex) |
void | HandleTriggerSpellHit (SpellEffIndex effIndex) |
void | Register () override |
|
inlineprivate |
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), Object::IsPlayer(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and SPELL_FAILED_DONT_REPORT.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), and SPELL_PALADIN_RIGHTEOUS_DEFENSE_TAUNT.
Referenced by Register().
|
inlineprivate |
References SpellScript::PreventHitDefaultEffect().
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
WORKAROUND target select will be executed in hitphase of effect 0 so we must handle trigger spell also in hit phase (default execution in launch phase) see issue #3718
Implements _SpellScript.
References CheckCast(), EFFECT_1, HandleTriggerSpellHit(), HandleTriggerSpellLaunch(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SpellScript::OnEffectLaunchTarget, SPELL_EFFECT_TRIGGER_SPELL, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_PALADIN_RIGHTEOUS_DEFENSE_TAUNT, and _SpellScript::ValidateSpellInfo().