![]() |
TrinityCore
|
Inheritance diagram for spell_pri_penance:Private Attributes | |
| uint32 | _damageSpellId |
| uint32 | _healingSpellId |
Definition at line 3070 of file spell_priest.cpp.
Definition at line 3073 of file spell_priest.cpp.
|
inline |
Definition at line 3082 of file spell_priest.cpp.
References SpellScript::GetCaster(), SpellScript::GetExplTargetUnit(), WorldObject::IsFriendlyTo(), WorldObject::isInFront(), WorldObject::IsValidAttackTarget(), SPELL_CAST_OK, SPELL_FAILED_BAD_TARGETS, and SPELL_FAILED_UNIT_NOT_INFRONT.
Referenced by Register().
|
inline |
Definition at line 3101 of file spell_priest.cpp.
References _damageSpellId, _healingSpellId, WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SpellScript::GetSpell(), WorldObject::IsFriendlyTo(), TRIGGERED_IGNORE_GCD, and TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD.
Referenced by Register().
|
inlineoverridevirtual |
Implements SpellScriptBase.
Definition at line 3116 of file spell_priest.cpp.
References CheckCast(), EFFECT_0, HandleDummy(), SpellScript::OnCheckCast, SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, SpellCheckCastFn, and SpellEffectFn.
|
inlineoverridevirtual |
Reimplemented from SpellScriptBase.
Definition at line 3077 of file spell_priest.cpp.
References _damageSpellId, _healingSpellId, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 3123 of file spell_priest.cpp.
Referenced by HandleDummy(), and Validate().
|
private |
Definition at line 3124 of file spell_priest.cpp.
Referenced by HandleDummy(), and Validate().