![]() |
TrinityCore
|
Inheritance diagram for spell_pri_power_word_shield:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | CalculateAbsorb (AuraEffect const *aurEff, Unit *, int32 &, int32 &, float &pctMod) |
| void | HandleOnApply (AuraEffect const *aurEff, AuraEffectHandleModes) const |
| void | HandleOnRemove (AuraEffect const *aurEff, AuraEffectHandleModes) const |
| void | Register () override |
Definition at line 3460 of file spell_priest.cpp.
|
inlineprivate |
Definition at line 3477 of file spell_priest.cpp.
References AddPct(), EFFECT_0, Unit::GetAuraEffect(), AuraScript::GetCaster(), AuraScript::GetSpellInfo(), AuraScript::GetUnitOwner(), HasAura, roll_chance(), SPELL_PRIEST_ATONEMENT_EFFECT, SPELL_PRIEST_MASTERY_GRACE, Unit::SpellCritChanceDone(), and Unit::SpellCritChanceTaken().
Referenced by Register().
|
inlineprivate |
Definition at line 3493 of file spell_priest.cpp.
References WorldObject::CastSpell(), AuraScript::GetCaster(), AuraScript::GetTarget(), Unit::HasAura(), SPELL_PRIEST_STRENGTH_OF_SOUL, and SPELL_PRIEST_STRENGTH_OF_SOUL_EFFECT.
Referenced by Register().
|
inlineprivate |
Definition at line 3504 of file spell_priest.cpp.
References AURA_REMOVE_BY_ENEMY_SPELL, AuraScript::GetCaster(), AuraScript::GetTarget(), AuraScript::GetTargetApplication(), Unit::RemoveAura(), SPELL_PRIEST_SHIELD_DISCIPLINE, SPELL_PRIEST_SHIELD_DISCIPLINE_EFFECT, and SPELL_PRIEST_STRENGTH_OF_SOUL_EFFECT.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 3514 of file spell_priest.cpp.
References AuraScript::AfterEffectApply, AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK, AuraEffectApplyFn, AuraEffectCalcAbsorbFn, AuraEffectRemoveFn, CalculateAbsorb(), AuraScript::DoEffectCalcDamageAndHealing, EFFECT_0, HandleOnApply(), HandleOnRemove(), and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 3462 of file spell_priest.cpp.
References EFFECT_0, SPELL_PRIEST_ATONEMENT_EFFECT, SPELL_PRIEST_MASTERY_GRACE, SPELL_PRIEST_SHIELD_DISCIPLINE, SPELL_PRIEST_SHIELD_DISCIPLINE_EFFECT, SPELL_PRIEST_STRENGTH_OF_SOUL, SPELL_PRIEST_STRENGTH_OF_SOUL_EFFECT, SPELL_PVP_RULES_ENABLED_HARDCODED, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().