Text fixes

This commit is contained in:
Alex W. Jackson 2022-01-31 01:00:38 -05:00
parent c5baf413e8
commit 86160b7613
6 changed files with 12 additions and 26 deletions

View file

@ -73,18 +73,17 @@ public class ExileTopXMayPlayUntilEndOfTurnEffect extends OneShotEffect {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
StringBuilder sb = new StringBuilder();
StringBuilder sb = new StringBuilder("exile the top ");
if (amount == 1) {
sb.append("exile the top card of your library. ");
sb.append(CardUtil.getTextWithFirstCharUpperCase(duration.toString()));
sb.append(", you may play that card");
sb.append("card of your library. ");
} else {
sb.append("exile the top ");
sb.append(CardUtil.numberToText(amount));
sb.append(" cards of your library. ");
sb.append(CardUtil.getTextWithFirstCharUpperCase(duration.toString()));
sb.append(", you may play cards exiled this way");
}
sb.append(CardUtil.getTextWithFirstCharUpperCase(duration.toString()));
sb.append(", you may play ");
sb.append(amount == 1 ? "that card" : amount == 2 ? "those cards" : "cards exiled this way");
if (showHint) {
sb.append(". <i>(You still pay its costs. You can play a land this way only if you have an available land play remaining.)</i>");
}