AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_pal_holy_shock) | |
bool | Validate (SpellInfo const *spellInfo) override |
void | HandleDummy (SpellEffIndex) |
SpellCastResult | CheckCast () |
void | Register () override |
|
inlineprivate |
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), Unit::IsFriendlyTo(), WorldObject::isInFront(), Unit::IsValidAttackTarget(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and SPELL_FAILED_UNIT_NOT_INFRONT.
Referenced by Register().
|
inlineprivate |
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellInfo::GetRank(), SpellScript::GetSpellInfo(), Unit::IsFriendlyTo(), SPELL_PALADIN_HOLY_SHOCK_R1_DAMAGE, SPELL_PALADIN_HOLY_SHOCK_R1_HEALING, and sSpellMgr.
Referenced by Register().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellInfo::GetRank(), SpellInfo::IsRankOf(), SPELL_PALADIN_HOLY_SHOCK_R1, SPELL_PALADIN_HOLY_SHOCK_R1_DAMAGE, SPELL_PALADIN_HOLY_SHOCK_R1_HEALING, and sSpellMgr.