mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Fix some string builder issues
This commit is contained in:
parent
7172027cde
commit
c0dfa160b1
2 changed files with 1 additions and 4 deletions
|
@ -87,7 +87,7 @@ public class ReturnFromGraveyardToBattlefieldTargetEffect extends OneShotEffect
|
|||
if (target.getMaxNumberOfTargets() == Integer.MAX_VALUE
|
||||
&& target.getMinNumberOfTargets() == 0) {
|
||||
sb.append("any number of ");
|
||||
} else if (target.getMaxNumberOfTargets() > 1) {
|
||||
} else {
|
||||
if (target.getMaxNumberOfTargets() != target.getNumberOfTargets()) {
|
||||
sb.append("up to ");
|
||||
}
|
||||
|
|
|
@ -56,9 +56,6 @@ public class CantBlockTargetEffect extends RestrictionEffect {
|
|||
sb.append(CardUtil.numberToText(target.getMaxNumberOfTargets())).append(' ');
|
||||
}
|
||||
sb.append("target ").append(mode.getTargets().get(0).getTargetName());
|
||||
if (target.getMaxNumberOfTargets() > 1) {
|
||||
sb.append('s');
|
||||
}
|
||||
|
||||
sb.append(" can't block");
|
||||
if (this.duration == Duration.EndOfTurn) {
|
||||
|
|
Loading…
Reference in a new issue