From bbd45a188604b831e85b19d8b6aa980686f65f6e Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 23 Feb 2022 16:30:50 -0500 Subject: [PATCH] Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative Port From (https://github.com/TrinityCore/TrinityCore/commit/fc43a95729109286d8ce0e0ecf3a2c3dcdbe2d5b) --- Source/Game/Spells/SpellInfo.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index 99f1d18ed..e44c166ab 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -3528,6 +3528,7 @@ namespace Game.Spells case AuraType.ModRangedAttackPower: case AuraType.ModDamagePercentDone: case AuraType.ModSpeedSlowAll: + case AuraType.ModAttackPowerPct: if (!_isPositiveTarget(effect) || bp < 0) return false; break;