* Fixed effect text for numbers > 1 (e.g. Daretti, Ingenious Iconlast).

This commit is contained in:
LevelX2 2016-10-23 22:36:45 +02:00
parent f0bbb8db7b
commit bd0e288087

View file

@ -232,7 +232,13 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect {
return staticText; return staticText;
} }
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("Put a token onto the battlefield "); sb.append("Put ");
if (number == 1) {
sb.append("a token");
} else {
sb.append(CardUtil.numberToText(number)).append(" tokens");
}
sb.append(" onto the battlefield ");
if (tapped && !attacking) { if (tapped && !attacking) {
sb.append("tapped "); sb.append("tapped ");
} else if (!tapped && attacking) { } else if (!tapped && attacking) {