![]() |
TrinityCore
|
Inheritance diagram for spell_dk_anti_magic_zone: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 |
Definition at line 333 of file spell_dk.cpp.
|
inline |
Definition at line 338 of file spell_dk.cpp.
References absorbPct.
|
inlineprivate |
Definition at line 369 of file spell_dk.cpp.
References absorbPct, CalculatePct(), and DamageInfo::GetDamage().
Referenced by Register().
|
inlineprivate |
Definition at line 357 of file spell_dk.cpp.
References BASE_ATTACK, SpellEffectInfo::CalcValue(), EFFECT_0, AuraScript::GetCaster(), SpellInfo::GetEffect(), WorldObject::GetOwner(), SPELL_DK_ANTI_MAGIC_SHELL_TALENT, sSpellMgr, and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 346 of file spell_dk.cpp.
References absorbPct, SpellEffectInfo::CalcValue(), EFFECT_0, AuraScript::GetCaster(), and AuraScript::GetEffectInfo().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 374 of file spell_dk.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 352 of file spell_dk.cpp.
References SPELL_DK_ANTI_MAGIC_SHELL_TALENT, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 344 of file spell_dk.cpp.
Referenced by Absorb(), Load(), and spell_dk_anti_magic_zone().