text fixes

This commit is contained in:
xenohedron 2024-05-21 01:05:35 -04:00
parent abd0e4ca8f
commit 88b6f4036f
4 changed files with 8 additions and 6 deletions

View file

@ -106,7 +106,7 @@ public abstract class TargetImpl implements Target {
if (min > 0 && max == Integer.MAX_VALUE) {
sb.append(CardUtil.numberToText(min));
sb.append(" or more ");
} else if (!getTargetName().startsWith("X") && (min != 1 || max != 1)) {
} else if (!getTargetName().contains("X") && (min != 1 || max != 1)) {
if (min < max && max != Integer.MAX_VALUE) {
if (min == 1 && max == 2) {
sb.append("one or ");