text fixes

This commit is contained in:
xenohedron 2024-02-02 23:13:52 -05:00
parent bfba6aefbc
commit b8c78cceec
3 changed files with 10 additions and 5 deletions

View file

@ -31,9 +31,9 @@ public class CantAttackYouAllEffect extends RestrictionEffect {
super(duration, Outcome.Benefit);
this.filterAttacker = filter;
this.alsoPlaneswalker = alsoPlaneswalker;
staticText = filterAttacker.getMessage() + " can't attack you"
+ (alsoPlaneswalker ? " or planeswalkers you control" : "")
+ (duration == Duration.UntilYourNextTurn || duration == Duration.UntilEndOfYourNextTurn ? " " + duration.toString() : "");
staticText = (duration == Duration.UntilYourNextTurn ? duration.toString() + ", " : "")
+ filterAttacker.getMessage() + " can't attack you"
+ (alsoPlaneswalker ? " or planeswalkers you control" : "");
}
protected CantAttackYouAllEffect(final CantAttackYouAllEffect effect) {