From c3b8df8cb2acf3ba46f8900e2fe3d7ee7cdb2658 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Fri, 6 Jan 2023 00:53:37 +0100 Subject: [PATCH] =?UTF-8?q?fix(Core/Spells):=20Aura=20with=20`SPELL=5FAURA?= =?UTF-8?q?=5FMOD=5FFEAR`=20effect=20are=20always=20c=E2=80=A6=20(#14450)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Core/Spells): Aura with `SPELL_AURA_MOD_FEAR` effect are always considered as negative. Fixes #14297 --- src/server/game/Spells/SpellInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 8851d3613..3a91dc994 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -2725,6 +2725,7 @@ bool SpellInfo::_IsPositiveEffect(uint8 effIndex, bool deep) const return true; return false; case SPELL_AURA_MOD_ROOT: + case SPELL_AURA_MOD_FEAR: case SPELL_AURA_MOD_SILENCE: case SPELL_AURA_GHOST: case SPELL_AURA_PERIODIC_LEECH: