![]() |
TrinityCore
|
Inheritance diagram for spell_dk_anti_magic_shell_self:Private Member Functions | |
| PrepareAuraScript (spell_dk_anti_magic_shell_self) | |
| bool | Load () override |
| bool | Validate (SpellInfo const *) override |
| void | CalculateAmount (AuraEffect const *, int32 &amount, bool &) |
| void | Absorb (AuraEffect *, DamageInfo &dmgInfo, uint32 &absorbAmount) |
| void | Trigger (AuraEffect *aurEff, DamageInfo &, uint32 &absorbAmount) |
| void | Register () override |
Private Attributes | |
| uint32 | absorbPct |
| uint32 | hpPct |
Definition at line 280 of file spell_dk.cpp.
|
inline |
Definition at line 285 of file spell_dk.cpp.
|
inlineprivate |
Definition at line 310 of file spell_dk.cpp.
References absorbPct, CalculatePct(), DamageInfo::GetDamage(), AuraScript::GetTarget(), and hpPct.
Referenced by Register().
|
inlineprivate |
Definition at line 305 of file spell_dk.cpp.
References Unit::CountPctFromMaxHealth(), AuraScript::GetCaster(), and hpPct.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 293 of file spell_dk.cpp.
References absorbPct, SpellEffectInfo::CalcValue(), EFFECT_0, EFFECT_1, AuraScript::GetCaster(), AuraScript::GetEffectInfo(), and hpPct.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 324 of file spell_dk.cpp.
References Absorb(), AuraScript::AfterEffectAbsorb, AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, SPELL_AURA_SCHOOL_ABSORB, and Trigger().
|
inlineprivate |
Definition at line 315 of file spell_dk.cpp.
References CastSpellExtraArgs::AddSpellBP0(), CalculatePct(), WorldObject::CastSpell(), AuraScript::GetTarget(), and SPELL_DK_RUNIC_POWER_ENERGIZE.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 300 of file spell_dk.cpp.
References SPELL_DK_RUNIC_POWER_ENERGIZE, and _SpellScript::ValidateSpellInfo().
|
private |
Definition at line 292 of file spell_dk.cpp.
Referenced by Absorb(), Load(), and spell_dk_anti_magic_shell_self().
|
private |
Definition at line 292 of file spell_dk.cpp.
Referenced by Absorb(), CalculateAmount(), Load(), and spell_dk_anti_magic_shell_self().