aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2020-07-01 22:46:21 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-21 16:11:39 +0100
commitde21d446aac99b6d582acdad922d2c5ed0ada739 (patch)
tree6e3ce306a176a17185adb0575bdfd2aba309f6c7 /src
parentcc6e616e6106e8eb168f528c74f98afb01a6b482 (diff)
Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative (#24901)
(cherry picked from commit 7a81ce2f21d5823cfa872cdef8fc880f2c81f94c)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index b225155cbcc..2581ef6e6d8 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -4596,6 +4596,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
case SPELL_AURA_MOD_RANGED_ATTACK_POWER:
case SPELL_AURA_MOD_DAMAGE_PERCENT_DONE:
case SPELL_AURA_MOD_SPEED_SLOW_ALL:
+ case SPELL_AURA_MELEE_SLOW:
case SPELL_AURA_MOD_ATTACK_POWER_PCT:
if (!_isPositiveTarget(effect) || bp < 0)
return false;