mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
fix more text
This commit is contained in:
parent
e802db32d3
commit
92e089663f
8 changed files with 16 additions and 15 deletions
|
|
@ -160,7 +160,11 @@ public class CreateTokenEffect extends OneShotEffect {
|
|||
String message = amount.getMessage();
|
||||
if (!message.isEmpty()) {
|
||||
if (amount.toString().equals("X")) {
|
||||
sb.append(", where X is ");
|
||||
if (sb.toString().endsWith(".\"")) {
|
||||
sb.replace(sb.length() - 2, sb.length(), ",\" where X is ");
|
||||
} else {
|
||||
sb.append(", where X is ");
|
||||
}
|
||||
} else {
|
||||
sb.append(" for each ");
|
||||
}
|
||||
|
|
@ -168,7 +172,7 @@ public class CreateTokenEffect extends OneShotEffect {
|
|||
sb.append(message);
|
||||
|
||||
if (this.additionalRules != null) {
|
||||
sb.append(" " + this.additionalRules);
|
||||
sb.append(this.additionalRules);
|
||||
}
|
||||
|
||||
staticText = sb.toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue