fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENE… (#9844)

* fix(Core/Spells): Added some exceptions to `SPELL_AURA_PREVENT_REGENERATE_POWER` auras.

Fixes #2042
This commit is contained in:
UltraNix
2022-02-10 15:34:00 +01:00
committed by GitHub
parent 210029095a
commit 0fa4a90aa8
3 changed files with 41 additions and 3 deletions

View File

@@ -410,7 +410,7 @@ class spell_hun_ascpect_of_the_viper : public AuraScript
void Register() override
{
DoCheckProc += AuraCheckProcFn(spell_hun_ascpect_of_the_viper::CheckProc);
OnEffectProc += AuraEffectProcFn(spell_hun_ascpect_of_the_viper::HandleProc, EFFECT_0, SPELL_AURA_OBS_MOD_POWER);
OnEffectProc += AuraEffectProcFn(spell_hun_ascpect_of_the_viper::HandleProc, EFFECT_2, SPELL_AURA_DUMMY);
AfterEffectApply += AuraEffectApplyFn(spell_hun_ascpect_of_the_viper::OnApply, EFFECT_0, SPELL_AURA_OBS_MOD_POWER, AURA_EFFECT_HANDLE_REAL);
AfterEffectRemove += AuraEffectRemoveFn(spell_hun_ascpect_of_the_viper::OnRemove, EFFECT_0, SPELL_AURA_OBS_MOD_POWER, AURA_EFFECT_HANDLE_REAL);
}