|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | HandleDummy (SpellEffIndex) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_pri_penance_SpellScript) | |
| void | Register () OVERRIDE |
| bool | Validate (SpellInfo const *spellInfo) OVERRIDE |
Definition at line 444 of file spell_priest.cpp.
|
inlineprivate |
Definition at line 489 of file spell_priest.cpp.
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), Unit::IsFriendlyTo(), Unit::IsValidAttackTarget(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and Object::ToPlayer().
Referenced by Register().
|
inlineprivate |
Definition at line 472 of file spell_priest.cpp.
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellInfo::GetRank(), SpellScript::GetSpellInfo(), Unit::IsFriendlyTo(), SPELL_PRIEST_PENANCE_R1_DAMAGE, SPELL_PRIEST_PENANCE_R1_HEAL, and sSpellMgr.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 448 of file spell_priest.cpp.
References SpellScript::GetCaster(), Object::GetTypeId(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 498 of file spell_priest.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 453 of file spell_priest.cpp.
References OVERRIDE, SPELL_PRIEST_PENANCE_R1, SPELL_PRIEST_PENANCE_R1_DAMAGE, SPELL_PRIEST_PENANCE_R1_HEAL, and sSpellMgr.