Core/Spells: SPELL_AURA_MOD_HEALING_PCT should be negative if TargetType is enemy or BasePoints are negative

Port From (https://github.com/TrinityCore/TrinityCore/commit/8585b127f4ee8d6bd30ce2e413ce7676fba097ac)
This commit is contained in:
hondacrx
2022-05-24 10:14:44 -04:00
parent b0ac02546a
commit 9f7db1d08b
+1 -1
View File
@@ -3506,7 +3506,6 @@ namespace Game.Spells
case AuraType.ModSkill:
case AuraType.ModSkill2:
case AuraType.ModDodgePercent:
case AuraType.ModHealingPct:
case AuraType.ModHealingDone:
case AuraType.ModDamageDoneCreature:
case AuraType.ObsModHealth:
@@ -3543,6 +3542,7 @@ namespace Game.Spells
case AuraType.MeleeSlow:
case AuraType.ModAttackPowerPct:
case AuraType.ModHealingDonePercent:
case AuraType.ModHealingPct:
if (!_isPositiveTarget(effect) || bp < 0)
return false;
break;