![]() |
TrinityCore
|
Inheritance diagram for spell_pri_atonement:Classes | |
| struct | TriggerArgs |
Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleOnProc (AuraEffect const *aurEff, ProcEventInfo const &eventInfo) |
| void | Register () override |
Static Private Member Functions | |
| static bool | CheckProc (AuraScript const &, ProcEventInfo const &eventInfo) |
Private Attributes | |
| std::vector< ObjectGuid > | _appliedAtonements |
Definition at line 555 of file spell_priest.cpp.
|
inline |
Definition at line 582 of file spell_priest.cpp.
References _appliedAtonements, UpdateSinsOfTheManyValue(), and UpdateTrinityEffect().
|
inlinestaticprivate |
Definition at line 563 of file spell_priest.cpp.
References ProcEventInfo::GetDamageInfo().
Referenced by Register().
|
inline |
Definition at line 598 of file spell_priest.cpp.
References _appliedAtonements.
Referenced by spell_pri_divine_procession::HandleProc(), and spell_pri_lights_wrath::OnPrecast().
|
inlineprivate |
Definition at line 568 of file spell_priest.cpp.
References TriggerAtonementHealOnTargets().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 573 of file spell_priest.cpp.
References AuraCheckProcFn, AuraEffectProcFn, CheckProc(), AuraScript::DoCheckProc, EFFECT_0, HandleOnProc(), AuraScript::OnEffectProc, and SPELL_AURA_DUMMY.
|
inline |
Definition at line 590 of file spell_priest.cpp.
References _appliedAtonements, UpdateSinsOfTheManyValue(), and UpdateTrinityEffect().
|
inline |
Definition at line 609 of file spell_priest.cpp.
References _appliedAtonements, CastSpellExtraArgs::AddSpellMod(), CalculatePct(), SpellEffectInfo::CalcValue(), WorldObject::CastSpell(), EFFECT_1, AuraEffect::GetAmount(), DamageInfo::GetDamage(), ProcEventInfo::GetDamageInfo(), AuraScript::GetEffectInfo(), DamageInfo::GetSchoolMask(), ProcEventInfo::GetSpellInfo(), ObjectAccessor::GetUnit(), AuraScript::GetUnitOwner(), CastSpellExtraArgs::SetCustomArg(), SPELL_PRIEST_ATONEMENT_HEAL, SPELLVALUE_BASE_POINT0, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and spell_pri_atonement::TriggerArgs::TriggeredBy.
Referenced by HandleOnProc().
|
inline |
Definition at line 638 of file spell_priest.cpp.
References _appliedAtonements, EFFECT_0, EFFECT_1, EFFECT_2, Unit::GetAuraEffect(), AuraScript::GetUnitOwner(), and SPELL_PRIEST_SINS_OF_THE_MANY.
Referenced by AddAtonementTarget(), and RemoveAtonementTarget().
|
inline |
Definition at line 648 of file spell_priest.cpp.
References _appliedAtonements, WorldObject::CastSpell(), EFFECT_0, Unit::GetAuraEffect(), AuraScript::GetUnitOwner(), SPELL_PRIEST_TRINITY, SPELL_PRIEST_TRINITY_EFFECT, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by AddAtonementTarget(), and RemoveAtonementTarget().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 557 of file spell_priest.cpp.
References EFFECT_0, EFFECT_1, EFFECT_2, SpellInfo::Id, SPELL_PRIEST_ATONEMENT_HEAL, SPELL_PRIEST_SINS_OF_THE_MANY, SPELL_PRIEST_TRINITY, SPELL_PRIEST_TRINITY_EFFECT, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 579 of file spell_priest.cpp.
Referenced by AddAtonementTarget(), GetAtonementTargets(), RemoveAtonementTarget(), TriggerAtonementHealOnTargets(), UpdateSinsOfTheManyValue(), and UpdateTrinityEffect().