[WOE] text fixes

This commit is contained in:
xenohedron 2023-08-25 22:52:10 -04:00
parent 1107fb5770
commit ed4a1bf33f
37 changed files with 64 additions and 55 deletions

View file

@ -32,6 +32,7 @@ public class AddCountersAllEffect extends OneShotEffect {
this.counter = counter;
this.amount = amount;
this.filter = filter;
staticText = "put " + counter.getDescription() + " on each " + filter.getMessage();
}
protected AddCountersAllEffect(final AddCountersAllEffect effect) {
@ -72,14 +73,6 @@ public class AddCountersAllEffect extends OneShotEffect {
return false;
}
@Override
public String getText(Mode mode) {
if (!staticText.isEmpty()) {
return staticText;
}
return CardUtil.getAddRemoveCountersText(amount, counter, getTargetPointer().describeTargets(mode.getTargets(), "that creature"), true);
}
@Override
public AddCountersAllEffect copy() {
return new AddCountersAllEffect(this);