forked from External/mage
[WOE] text fixes
This commit is contained in:
parent
1107fb5770
commit
ed4a1bf33f
37 changed files with 64 additions and 55 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue