mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
text fixes
This commit is contained in:
parent
2d44a029eb
commit
250869931b
4 changed files with 10 additions and 8 deletions
|
|
@ -81,7 +81,7 @@ public class ExileTopXMayPlayUntilEffect extends OneShotEffect {
|
|||
String text = "exile the top ";
|
||||
boolean singular = amount.toString().equals("1");
|
||||
text += singular ? "card" : CardUtil.numberToText(amount.toString()) + " cards";
|
||||
if (amount.toString().equals("X")) {
|
||||
if (amount.toString().equals("X") && !amount.getMessage().isEmpty()) {
|
||||
text += " of your library, where X is " + amount.getMessage() + ". ";
|
||||
} else {
|
||||
text += " of your library. ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue