forked from External/mage
[ELD] various text fixes
This commit is contained in:
parent
6a3240fad3
commit
50a0954606
29 changed files with 80 additions and 62 deletions
|
|
@ -71,8 +71,7 @@ public class CreateTokenTargetEffect extends OneShotEffect {
|
|||
|
||||
if (mode.getTargets().isEmpty()) {
|
||||
sb.append("that player");
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
sb.append("target ").append(mode.getTargets().get(0).getTargetName());
|
||||
}
|
||||
|
||||
|
|
@ -90,11 +89,11 @@ public class CreateTokenTargetEffect extends OneShotEffect {
|
|||
}
|
||||
sb.append(token.getDescription());
|
||||
if (token.getDescription().endsWith("token")) {
|
||||
sb.append("s ");
|
||||
sb.append("s");
|
||||
}
|
||||
int tokenLocation = sb.indexOf("token ");
|
||||
int tokenLocation = sb.indexOf("token");
|
||||
if (tokenLocation != -1) {
|
||||
sb.replace(tokenLocation, tokenLocation + 6, "tokens ");
|
||||
sb.replace(tokenLocation, tokenLocation + 6, "tokens");
|
||||
}
|
||||
}
|
||||
if (attacking) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue