diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-22 22:38:35 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-22 22:38:35 +0200 |
| commit | c38dcab7d84453aa83a147ee19180485b327e350 (patch) | |
| tree | 9db616df16036ea7fa9833df5e0c56418e2b2efe | |
| parent | 5ff96b886f46646a2e97c760f0dc9130325ffd16 (diff) | |
Core/Spells: Fix startup error with "spell_warl_health_funnel"
Note: self dmg need fix
| -rw-r--r-- | src/server/scripts/Spells/spell_warlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index c1d491aedbe..b2344a33313 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -754,8 +754,8 @@ class spell_warl_health_funnel : public SpellScriptLoader void Register() OVERRIDE { - OnEffectRemove += AuraEffectRemoveFn(spell_warl_health_funnel_AuraScript::RemoveEffect, EFFECT_0, SPELL_AURA_PERIODIC_HEAL, AURA_EFFECT_HANDLE_REAL); - OnEffectApply += AuraEffectApplyFn(spell_warl_health_funnel_AuraScript::ApplyEffect, EFFECT_0, SPELL_AURA_PERIODIC_HEAL, AURA_EFFECT_HANDLE_REAL); + OnEffectApply += AuraEffectApplyFn(spell_warl_health_funnel_AuraScript::ApplyEffect, EFFECT_0, SPELL_AURA_OBS_MOD_HEALTH, AURA_EFFECT_HANDLE_REAL); + OnEffectRemove += AuraEffectRemoveFn(spell_warl_health_funnel_AuraScript::RemoveEffect, EFFECT_0, SPELL_AURA_OBS_MOD_HEALTH, AURA_EFFECT_HANDLE_REAL); } }; |
