Some minor fixes.

This commit is contained in:
LevelX2 2016-09-17 16:45:53 +02:00
parent 5d98324c82
commit 04ca15a3a9
2 changed files with 4 additions and 2 deletions

View file

@ -35,7 +35,7 @@ public class GathererSymbols implements Iterable<DownloadJob> {
"W/U", "U/B", "B/R", "R/G", "G/W", "W/B", "U/R", "B/G", "R/W", "G/U",
"2/W", "2/U", "2/B", "2/R", "2/G",
"WP", "UP", "BP", "RP", "GP",
"X", "S", "T", "Q", "C"};
"X", "S", "T", "Q", "C", "E"};
private static final int minNumeric = 0, maxNumeric = 16;
public GathererSymbols(String path) {

View file

@ -173,8 +173,10 @@ public class MaximumHandSizeControllerEffect extends ContinuousEffectImpl {
} else if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() == Integer.MAX_VALUE) || !(handSize instanceof StaticValue)) {
sb.append(" is ");
}
if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() != Integer.MAX_VALUE) || !(handSize instanceof StaticValue)) {
if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() != Integer.MAX_VALUE)) {
sb.append(CardUtil.numberToText(((StaticValue) handSize).getValue()));
} else if (!(handSize instanceof StaticValue)) {
sb.append(handSize.getMessage());
}
if (duration == Duration.EndOfGame) {
sb.append(" for the rest of the game");