![]() |
TrinityCore
|
Inheritance diagram for spell_pal_ardent_defender:Private Types | |
| enum | Spell { PAL_SPELL_ARDENT_DEFENDER_HEAL = 66235 } |
Private Member Functions | |
| PrepareAuraScript (spell_pal_ardent_defender) | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Absorb (AuraEffect *aurEff, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| void | Register () override |
Private Attributes | |
| uint32 | _absorbPct = 0 |
| uint32 | _healPct = 0 |
Definition at line 146 of file spell_paladin.cpp.
|
private |
| Enumerator | |
|---|---|
| PAL_SPELL_ARDENT_DEFENDER_HEAL | |
Definition at line 153 of file spell_paladin.cpp.
|
inlineprivate |
Definition at line 176 of file spell_paladin.cpp.
References _absorbPct, _healPct, SpellHistory::AddCooldown(), CastSpellExtraArgs::AddSpellBP0(), CalculatePct(), WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), DamageInfo::GetDamage(), Unit::GetDefenseSkillValue(), Unit::GetHealth(), Unit::GetMaxSkillValueForLevel(), Unit::GetSpellHistory(), AuraScript::GetTarget(), and PAL_SPELL_ARDENT_DEFENDER_HEAL.
Referenced by Register().
|
inlineprivate |
Definition at line 170 of file spell_paladin.cpp.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 163 of file spell_paladin.cpp.
References _absorbPct, _healPct, SpellEffectInfo::CalcValue(), EFFECT_0, EFFECT_1, AuraScript::GetEffectInfo(), Object::GetTypeId(), AuraScript::GetUnitOwner(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 208 of file spell_paladin.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 158 of file spell_paladin.cpp.
References PAL_SPELL_ARDENT_DEFENDER_HEAL, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 150 of file spell_paladin.cpp.
|
private |
Definition at line 151 of file spell_paladin.cpp.