[BRC] various text fixes

This commit is contained in:
Evan Kranzler 2022-11-08 19:11:22 -05:00
parent 7e550f463f
commit 5a8bea6e9c
14 changed files with 52 additions and 51 deletions

View file

@ -307,6 +307,11 @@ public class CreateTokenCopyTargetEffect extends OneShotEffect {
if (mode.getTargets().isEmpty()) {
throw new UnsupportedOperationException("Using default rule generation of target effect without having a target object");
}
if (mode.getTargets().get(0).getMinNumberOfTargets() == 0) {
sb.append("up to ");
sb.append(CardUtil.numberToText(mode.getTargets().get(0).getMaxNumberOfTargets()));
sb.append(' ');
}
String targetName = mode.getTargets().get(0).getTargetName();
if (!targetName.startsWith("another target")) {
sb.append("target ");