Proliferate - Added object id to the displayed permanent's name if the player has to choose which counter to proliferate.

This commit is contained in:
LevelX2 2015-06-14 10:27:44 +02:00
parent 060a468d4b
commit 05b654b5bd

View file

@ -87,7 +87,7 @@ public class ProliferateEffect extends OneShotEffect {
choices.add(counter.getName());
}
choice.setChoices(choices);
choice.setMessage("Choose a counter to proliferate (" + permanent.getName() + ")");
choice.setMessage("Choose a counter to proliferate (" + permanent.getIdName() + ")");
controller.choose(Outcome.Benefit, choice, game);
for (Counter counter : permanent.getCounters().values()) {
if (counter.getName().equals(choice.getChoice())) {