![]() |
TrinityCore
|
Inheritance diagram for spell_dh_darkness:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | CalculateAmount (AuraEffect const *, SpellEffectValue &amount, bool &) |
| void | Absorb (AuraEffect const *, DamageInfo &dmgInfo, uint32 &absorbAmount) const |
| void | Register () override |
Definition at line 838 of file spell_dh.cpp.
|
inlineprivate |
Definition at line 851 of file spell_dh.cpp.
References EFFECT_1, DamageInfo::GetDamage(), AuraScript::GetEffect(), and roll_chance().
Referenced by Register().
|
inlineprivate |
Definition at line 845 of file spell_dh.cpp.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 858 of file spell_dh.cpp.
References Absorb(), AuraEffectAbsorbFn, AuraEffectCalcAmountFn, CalculateAmount(), AuraScript::DoEffectCalcAmount, EFFECT_0, AuraScript::OnEffectAbsorb, and SPELL_AURA_SCHOOL_ABSORB.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 840 of file spell_dh.cpp.
References EFFECT_1, SpellInfo::Id, and SpellScriptBase::ValidateSpellEffect().