![]() |
TrinityCore
|
Inheritance diagram for spell_pri_ultimate_penitence_channel:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandlePeriodic (AuraEffect const *aurEff) const |
| bool | TryDealingDamage () const |
| bool | TryHealing () const |
| std::list< WorldObject * > | SearchTargetCandidates (uint32 spellId, SpellTargetCheckTypes checkType) const |
| void | HandleRemoveEffect (AuraEffect const *, AuraEffectHandleModes) const |
| void | Register () override |
Static Private Member Functions | |
| static std::array< Trinity::TargetPriorityRule, 2 > | GetHealingRules (Unit const *caster) |
Definition at line 5039 of file spell_priest.cpp.
|
inlinestaticprivate |
Definition at line 5115 of file spell_priest.cpp.
References Player::GetGroup(), BaseEntity::IsPlayer(), and Object::ToPlayer().
Referenced by TryHealing().
|
inlineprivate |
Definition at line 5053 of file spell_priest.cpp.
References AuraEffect::GetAmountAsInt(), TryDealingDamage(), and TryHealing().
Referenced by Register().
|
inlineprivate |
Definition at line 5106 of file spell_priest.cpp.
References WorldObject::CastSpell(), AuraScript::GetTarget(), SPELL_PRIEST_ULTIMATE_PENITENCE_FALLING_FACING_CONTROL, SPELL_PRIEST_ULTIMATE_PENITENCE_IMMUNITY, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 5124 of file spell_priest.cpp.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectPeriodicFn, EFFECT_0, EFFECT_1, HandlePeriodic(), HandleRemoveEffect(), AuraScript::OnEffectPeriodic, SPELL_AURA_MECHANIC_IMMUNITY_MASK, and SPELL_AURA_PERIODIC_DUMMY.
|
inlineprivate |
Definition at line 5086 of file spell_priest.cpp.
References EFFECT_0, EXTRA_CELL_SEARCH_RADIUS, AuraScript::GetCastDifficulty(), SpellInfo::GetEffect(), SpellInfo::GetMinMaxRange(), WorldObject::GetPhaseShift(), Spell::GetSearcherTypeMask(), AuraScript::GetTarget(), SpellEffectInfo::ImplicitTargetConditions, SpellRange::Max, Spell::SearchTargets(), sSpellMgr, and TARGET_OBJECT_TYPE_UNIT.
Referenced by TryDealingDamage(), and TryHealing().
|
inlineprivate |
Definition at line 5061 of file spell_priest.cpp.
References WorldObject::CastSpell(), AuraScript::GetTarget(), SearchTargetCandidates(), Trinity::Containers::SelectRandomContainerElement(), SPELL_PRIEST_ULTIMATE_PENITENCE_DAMAGE, TARGET_CHECK_ENEMY, TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by HandlePeriodic().
|
inlineprivate |
Definition at line 5071 of file spell_priest.cpp.
References WorldObject::CastSpell(), Trinity::Containers::EraseIf(), GetHealingRules(), AuraScript::GetTarget(), Unit::IsFullHealth(), BaseEntity::IsUnit(), SearchTargetCandidates(), Trinity::SortTargetsWithPriorityRules(), SPELL_PRIEST_ULTIMATE_PENITENCE_HEAL, TARGET_CHECK_ALLY, Object::ToUnit(), TRIGGERED_DONT_REPORT_CAST_ERROR, and TRIGGERED_IGNORE_CAST_IN_PROGRESS.
Referenced by HandlePeriodic().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 5041 of file spell_priest.cpp.
References EFFECT_0, SPELL_PRIEST_ULTIMATE_PENITENCE_DAMAGE, SPELL_PRIEST_ULTIMATE_PENITENCE_FALLING_FACING_CONTROL, SPELL_PRIEST_ULTIMATE_PENITENCE_HEAL, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().