- Fixed the player's max hand size in Puzzle Mode being equal to 0 by default (now set to 7 per the default MTG rules).

- Fixed the "Turns:X" parameter not working correctly in Puzzle Mode.
This commit is contained in:
Agetian
2017-07-26 12:58:04 +00:00
parent a15588120b
commit acfdf23c22
2 changed files with 21 additions and 8 deletions

View File

@@ -264,6 +264,13 @@ public abstract class Trigger extends TriggerReplacementBase {
}
}
if (this.mapParams.containsKey("TurnCount")) {
int turn = Integer.parseInt(this.mapParams.get("TurnCount"));
if (phaseHandler.getTurn() != turn) {
return false;
}
}
return true;
}
/**