AzerothCore 3.3.5a
OpenSource WoW Emulator
|
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 |
|
inlineprivate |
References AURA_REMOVE_BY_ENEMY_SPELL, Unit::CastCustomSpell(), Unit::CountPctFromMaxHealth(), DamageInfo::GetDamage(), Unit::GetHealth(), AuraScript::GetTarget(), healPct, AuraScript::Remove(), and SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL.
Referenced by Register().
|
inlineprivate |
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References EFFECT_1, SpellInfo::Effects, AuraScript::GetSpellInfo(), and healPct.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_1, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_PRIEST_GUARDIAN_SPIRIT_HEAL, and _SpellScript::ValidateSpellInfo().