Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative

Port From (https://github.com/TrinityCore/TrinityCore/commit/de21d446aac99b6d582acdad922d2c5ed0ada739)
This commit is contained in:
hondacrx
2022-02-27 23:19:13 -05:00
parent e46eb321fd
commit f1cfc81fe6
+1
View File
@@ -3537,6 +3537,7 @@ namespace Game.Spells
case AuraType.ModRangedAttackPower:
case AuraType.ModDamagePercentDone:
case AuraType.ModSpeedSlowAll:
case AuraType.MeleeSlow:
case AuraType.ModAttackPowerPct:
if (!_isPositiveTarget(effect) || bp < 0)
return false;