mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'patch-4' into 'master'
Fix Pump with negative values See merge request core-developers/forge!2083
This commit is contained in:
@@ -51,7 +51,7 @@ public class PumpAllEffect extends SpellAbilityEffect {
|
|||||||
|
|
||||||
boolean redrawPT = false;
|
boolean redrawPT = false;
|
||||||
|
|
||||||
if (a > 0 || d > 0) {
|
if (a != 0 || d != 0) {
|
||||||
tgtC.addPTBoost(a, d, timestamp);
|
tgtC.addPTBoost(a, d, timestamp);
|
||||||
redrawPT = true;
|
redrawPT = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ public class PumpEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a > 0 || d > 0) {
|
if (a != 0 || d != 0) {
|
||||||
gameCard.addPTBoost(a, d, timestamp);
|
gameCard.addPTBoost(a, d, timestamp);
|
||||||
redrawPT = true;
|
redrawPT = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user