forked from External/mage
cleaning
This commit is contained in:
parent
e2fd0299c7
commit
325384e73c
4 changed files with 54 additions and 54 deletions
|
|
@ -34,4 +34,14 @@ public class RemoveCounterSourceEffect extends OneShotEffect<RemoveCounterSource
|
|||
public RemoveCounterSourceEffect copy() {
|
||||
return new RemoveCounterSourceEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getText(Ability source) {
|
||||
if (counter.getCount() > 1) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("remove ").append(Integer.toString(counter.getCount())).append(" ").append(counter.getName()).append(" counters from {this}");
|
||||
return sb.toString();
|
||||
} else
|
||||
return "remove a " + counter.getName() + " counter from {this}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue