mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- More changes related to supporting negative power and toughness, please test to see this doesn't break anything.
- Fixed some visualization issues in the deck editor related to supporting negative P/T (e.g. non-creatures showing up as P/T 2 billion+ / 2 billion+).
This commit is contained in:
@@ -236,7 +236,7 @@ public class GameCopier {
|
||||
|
||||
int setPower = c.getSetPower();
|
||||
int setToughness = c.getSetToughness();
|
||||
if (setPower != -1 || setToughness != -1) {
|
||||
if (setPower != Integer.MAX_VALUE || setToughness != Integer.MAX_VALUE) {
|
||||
// TODO: Copy the full list with timestamps.
|
||||
newCard.addNewPT(setPower, setToughness, newGame.getNextTimestamp());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user