AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareAuraScript (spell_dk_anti_magic_zone) | |
bool | Load () override |
bool | Validate (SpellInfo const *) override |
void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
void | Absorb (AuraEffect *, DamageInfo &dmgInfo, uint32 &absorbAmount) |
void | Register () override |
Private Attributes | |
uint32 | absorbPct |
|
inlineprivate |
References absorbPct, CalculatePct(), and DamageInfo::GetDamage().
Referenced by Register().
|
inlineprivate |
References BASE_ATTACK, EFFECT_0, SpellInfo::Effects, AuraScript::GetCaster(), Unit::GetOwner(), SPELL_DK_ANTI_MAGIC_SHELL_TALENT, sSpellMgr, and Object::ToPlayer().
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.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SPELL_DK_ANTI_MAGIC_SHELL_TALENT, and _SpellScript::ValidateSpellInfo().