|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | HandleTriggerSpellHit (SpellEffIndex effIndex) |
| void | HandleTriggerSpellLaunch (SpellEffIndex effIndex) |
| PrepareSpellScript (spell_pal_righteous_defense_SpellScript) | |
| void | Register () override |
| bool | Validate (SpellInfo const *) override |
Definition at line 741 of file spell_paladin.cpp.
|
inlineprivate |
Definition at line 752 of file spell_paladin.cpp.
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), Object::GetTypeId(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_DONT_REPORT, and TYPEID_PLAYER.
Referenced by Register().
|
inlineprivate |
Definition at line 774 of file spell_paladin.cpp.
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), and SPELL_PALADIN_RIGHTEOUS_DEFENSE_TAUNT.
Referenced by Register().
|
inlineprivate |
Definition at line 769 of file spell_paladin.cpp.
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.
Definition at line 781 of file spell_paladin.cpp.
References CheckCast(), EFFECT_1, HandleTriggerSpellHit(), HandleTriggerSpellLaunch(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SpellScript::OnEffectLaunchTarget, SPELL_EFFECT_TRIGGER_SPELL, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 745 of file spell_paladin.cpp.
References SPELL_PALADIN_RIGHTEOUS_DEFENSE_TAUNT, and sSpellMgr.