![]() |
TrinityCore
|
Inheritance diagram for spell_pri_guardian_spirit:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| bool | Load () override |
| void | Absorb (AuraEffect *, DamageInfo const &dmgInfo, uint32 &absorbAmount) |
| void | Register () override |
Static Private Member Functions | |
| static void | CalculateAmount (AuraScript const &, AuraEffect const *, SpellEffectValue &amount, bool &) |
Private Attributes | |
| SpellEffectValue | healPct = 0.0 |
Definition at line 2137 of file spell_priest.cpp.
|
inlineprivate |
Definition at line 2158 of file spell_priest.cpp.
References CastSpellExtraArgs::AddSpellBP0(), AURA_REMOVE_BY_ENEMY_SPELL, WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), DamageInfo::GetDamage(), Unit::GetHealth(), AuraScript::GetTarget(), healPct, Remove, SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
inlinestaticprivate |
Definition at line 2152 of file spell_priest.cpp.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 2146 of file spell_priest.cpp.
References SpellEffectInfo::CalcValue(), EFFECT_1, AuraScript::GetEffectInfo(), and healPct.
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 2173 of file spell_priest.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_1, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 2141 of file spell_priest.cpp.
References EFFECT_1, SpellInfo::Id, SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 2139 of file spell_priest.cpp.