mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
fix text on some random cards
This commit is contained in:
parent
b215e9c32c
commit
95f14536eb
18 changed files with 29 additions and 29 deletions
|
|
@ -83,6 +83,14 @@ public class RevealTargetPlayerLibraryEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
private String setText() {
|
||||
return "Reveal the top " + CardUtil.numberToText(amountCards.toString()) + " cards of target player's library.";
|
||||
String number = amountCards.toString();
|
||||
StringBuilder sb = new StringBuilder("Reveal the top ");
|
||||
if ("1".equals(number)) {
|
||||
sb.append("card");
|
||||
} else {
|
||||
sb.append(CardUtil.numberToText(number)).append(" cards");
|
||||
}
|
||||
sb.append(" of target player's library.");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue