![]() |
TrinityCore
|
Inheritance diagram for spell_dk_anti_magic_shell:Private Attributes | |
| SpellEffectValue | absorbPct |
| uint64 | maxHealth |
| uint32 | absorbedAmount |
Definition at line 150 of file spell_dk.cpp.
|
inline |
Definition at line 153 of file spell_dk.cpp.
References absorbedAmount, absorbPct, and maxHealth.
|
inline |
Definition at line 174 of file spell_dk.cpp.
References absorbPct, AddPct(), CalculatePct(), CR_VERSATILITY_DAMAGE_DONE, EFFECT_2, AuraScript::GetCaster(), AuraScript::GetUnitOwner(), maxHealth, SPELL_AURA_MOD_VERSATILITY, and SPELL_DK_ANTI_MAGIC_BARRIER.
Referenced by Register().
|
inlineoverridevirtual |
Reimplemented from SpellScriptBase.
Definition at line 166 of file spell_dk.cpp.
References absorbedAmount, absorbPct, SpellEffectInfo::CalcValue(), EFFECT_1, AuraScript::GetCaster(), AuraScript::GetEffectInfo(), Unit::GetMaxHealth(), and maxHealth.
|
inlineoverridevirtual |
Implements SpellScriptBase.
Definition at line 194 of file spell_dk.cpp.
References AuraScript::AfterEffectAbsorb, AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, SPELL_AURA_SCHOOL_ABSORB, and Trigger().
|
inline |
Definition at line 185 of file spell_dk.cpp.
References absorbedAmount, CastSpellExtraArgs::AddSpellMod(), CalculatePct(), WorldObject::CastSpell(), AuraScript::GetTarget(), maxHealth, SPELL_DK_RUNIC_POWER_ENERGIZE, SPELLVALUE_BASE_POINT0, and UI64LIT.
Referenced by Register().
|
inlineoverridevirtual |
Reimplemented from SpellScriptBase.
Definition at line 160 of file spell_dk.cpp.
References EFFECT_1, EFFECT_2, SpellInfo::Id, SPELL_DK_ANTI_MAGIC_BARRIER, SPELL_DK_RUNIC_POWER_ENERGIZE, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 203 of file spell_dk.cpp.
Referenced by Load(), spell_dk_anti_magic_shell(), and Trigger().
|
private |
Definition at line 201 of file spell_dk.cpp.
Referenced by CalculateAmount(), Load(), and spell_dk_anti_magic_shell().
|
private |
Definition at line 202 of file spell_dk.cpp.
Referenced by CalculateAmount(), Load(), spell_dk_anti_magic_shell(), and Trigger().