This commit is contained in:
Loki 2011-02-08 23:39:21 +02:00
parent e2fd0299c7
commit 325384e73c
4 changed files with 54 additions and 54 deletions

View file

@ -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}";
}
}