Merge branch 'patch-4' into 'master'

Fix Pump with negative values

See merge request core-developers/forge!2083
This commit is contained in:
Michael Kamensky
2019-09-03 09:34:32 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ public class PumpAllEffect extends SpellAbilityEffect {
boolean redrawPT = false;
if (a > 0 || d > 0) {
if (a != 0 || d != 0) {
tgtC.addPTBoost(a, d, timestamp);
redrawPT = true;
}

View File

@@ -55,7 +55,7 @@ public class PumpEffect extends SpellAbilityEffect {
}
}
if (a > 0 || d > 0) {
if (a != 0 || d != 0) {
gameCard.addPTBoost(a, d, timestamp);
redrawPT = true;
}