mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Text fixes
This commit is contained in:
parent
c5baf413e8
commit
86160b7613
6 changed files with 12 additions and 26 deletions
|
|
@ -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>");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue