* Otherworldly Journey - Fixed that the returning creature did not get the +1/+1 counter.

This commit is contained in:
LevelX2 2015-05-13 17:45:44 +02:00
parent 4c60eba7e6
commit 7bc8ff9955
3 changed files with 194 additions and 17 deletions

View file

@ -107,11 +107,10 @@ public class AddCountersTargetEffect extends OneShotEffect {
newCounter.add(amount.calculate(game, source, this));
player.addCounters(newCounter, game);
affectedTargets ++;
if (!game.isSimulation())
game.informPlayers(new StringBuilder(sourceObject.getLogName()).append(": ")
.append(controller.getLogName()).append(" puts ")
.append(counter.getCount()).append(" ").append(counter.getName().toLowerCase())
.append(" counter on ").append(player.getLogName()).toString());
if (!game.isSimulation()) {
game.informPlayers(sourceObject.getLogName() +": " + controller.getLogName() + " puts " +
counter.getCount() + " " + counter.getName().toLowerCase() + " counter on " + player.getLogName());
}
}
}
}