![]() |
TrinityCore
|
Inheritance diagram for spell_warl_drain_soul:Private Member Functions | |
| bool | Validate (SpellInfo const *spellInfo) override |
| void | HandleRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | CalculateDamage (AuraEffect const *, Unit const *victim, int32 &, int32 &, float &pctMod) const |
| void | Register () override |
Definition at line 823 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 840 of file spell_warlock.cpp.
References AddPct(), EFFECT_1, EFFECT_2, AuraScript::GetCaster(), AuraScript::GetEffectInfo(), and Unit::HealthBelowPct().
Referenced by Register().
|
inlineprivate |
Definition at line 831 of file spell_warlock.cpp.
References AURA_REMOVE_BY_DEATH, AuraScript::GetCaster(), AuraScript::GetTargetApplication(), and SPELL_WARLOCK_DRAIN_SOUL_ENERGIZE.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 846 of file spell_warlock.cpp.
References AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectCalcDamageFn, CalculateDamage(), AuraScript::DoEffectCalcDamageAndHealing, EFFECT_0, HandleRemove(), and SPELL_AURA_PERIODIC_DAMAGE.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 825 of file spell_warlock.cpp.
References EFFECT_2, SpellInfo::Id, SPELL_WARLOCK_DRAIN_SOUL_ENERGIZE, SpellScriptBase::ValidateSpellEffect(), and SpellScriptBase::ValidateSpellInfo().