![]() |
TrinityCore
|
Inheritance diagram for spell_warl_health_funnel:Private Member Functions | |
| void | ApplyEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | RemoveEffect (AuraEffect const *, AuraEffectHandleModes) |
| void | OnPeriodic (AuraEffect const *aurEff) |
| void | Register () override |
Definition at line 870 of file spell_warlock.cpp.
|
inlineprivate |
Definition at line 872 of file spell_warlock.cpp.
References WorldObject::CastSpell(), AuraScript::GetCaster(), AuraScript::GetTarget(), Unit::HasAura(), SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R1, SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R2, SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R1, and SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_R2.
Referenced by Register().
|
inlineprivate |
HACK for self damage, is not blizz :/
Definition at line 892 of file spell_warlock.cpp.
References Unit::CountPctFromMaxHealth(), SpellNonMeleeDamage::damage, Unit::DealSpellDamage(), AuraScript::GetAura(), AuraEffect::GetBaseAmount(), AuraScript::GetCaster(), AuraScript::GetSpellInfo(), WorldObject::GetSpellModOwner(), SpellNonMeleeDamage::periodicLog, PowerCost0, and Unit::SendSpellNonMeleeDamageLog().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 910 of file spell_warlock.cpp.
References ApplyEffect(), AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectPeriodicFn, AuraEffectRemoveFn, EFFECT_0, AuraScript::OnEffectApply, AuraScript::OnEffectPeriodic, AuraScript::OnEffectRemove, OnPeriodic(), RemoveEffect(), and SPELL_AURA_OBS_MOD_HEALTH.
|
inlineprivate |
Definition at line 885 of file spell_warlock.cpp.
References AuraScript::GetTarget(), Unit::RemoveAurasDueToSpell(), SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R1, and SPELL_WARLOCK_IMPROVED_HEALTH_FUNNEL_BUFF_R2.
Referenced by Register().