![]() |
TrinityCore
|
Inheritance diagram for spell_pri_guardian_spirit:Private Member Functions | |
| PrepareAuraScript (spell_pri_guardian_spirit) | |
| bool | Validate (SpellInfo const *) override |
| bool | Load () override |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Absorb (AuraEffect *, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| void | Register () override |
Private Attributes | |
| uint32 | healPct = 0 |
Definition at line 464 of file spell_priest.cpp.
|
inlineprivate |
Definition at line 487 of file spell_priest.cpp.
References CastSpellExtraArgs::AddSpellBP0(), AURA_REMOVE_BY_ENEMY_SPELL, WorldObject::CastSpell(), Unit::CountPctFromMaxHealth(), DamageInfo::GetDamage(), Unit::GetHealth(), AuraScript::GetTarget(), healPct, AuraScript::Remove(), SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL, and TRIGGERED_FULL_MASK.
Referenced by Register().
|
inlineprivate |
Definition at line 481 of file spell_priest.cpp.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 475 of file spell_priest.cpp.
References SpellEffectInfo::CalcValue(), EFFECT_1, AuraScript::GetEffectInfo(), and healPct.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 502 of file spell_priest.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_1, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 470 of file spell_priest.cpp.
References SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 468 of file spell_priest.cpp.