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)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user