AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_dru_savage_defense) | |
bool | Load () override |
void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
void | Absorb (AuraEffect *aurEff, DamageInfo &, uint32 &absorbAmount) |
void | Register () override |
Private Attributes | |
uint32 | absorbPct |
|
inlineprivate |
References absorbPct, BASE_ATTACK, CalculatePct(), AuraScript::GetTarget(), and AuraEffect::SetAmount().
Referenced by Register().
|
inlineprivate |
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References absorbPct, EFFECT_0, SpellInfo::Effects, AuraScript::GetCaster(), and AuraScript::GetSpellInfo().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.