[MOM] various text fixes

This commit is contained in:
theelk801 2023-04-15 21:11:25 -04:00
parent 6d87041d74
commit 56d37b3496
11 changed files with 50 additions and 25 deletions

View file

@ -88,31 +88,31 @@ public class CardsInHandCondition implements Condition {
StringBuilder sb = new StringBuilder("if");
switch (targetController) {
case YOU:
sb.append(" you have");
sb.append(" you have ");
break;
case ANY:
sb.append(" each player has");
sb.append(" each player has ");
break;
}
switch (this.type) {
case FEWER_THAN:
sb.append(CardUtil.numberToText(count));
sb.append(CardUtil.numberToText(count - 1));
sb.append(" or fewer ");
break;
case MORE_THAN:
sb.append(CardUtil.numberToText(count));
sb.append(CardUtil.numberToText(count + 1));
sb.append(" or more ");
break;
case EQUAL_TO:
if (count > 0) {
sb.append(" exactly ");
sb.append("exactly ");
sb.append(CardUtil.numberToText(count));
} else {
sb.append(" no ");
sb.append("no ");
}
break;
}
sb.append(" cards in hand");
sb.append("cards in hand");
return sb.toString();
}
}

View file

@ -78,7 +78,7 @@ public class ConditionalActivatedAbility extends ActivatedAbilityImpl {
StringBuilder sb = new StringBuilder(super.getRule());
sb.append(" Activate only ");
if (timing == TimingRule.SORCERY) {
sb.append("as a sorcery and only");
sb.append("as a sorcery and only ");
}
String conditionText = condition.toString();
if (conditionText.startsWith("during")