* Write into Being - Added game log info where the controller puts the other card.

This commit is contained in:
LevelX2 2015-01-23 14:09:11 +01:00
parent aaed6935bc
commit d7411b8b5a

View file

@ -111,9 +111,12 @@ class WriteIntoBeingEffect extends OneShotEffect {
new ManifestEffect(1).apply(game, source);
if (controller.getLibrary().size() > 0) {
Card cardToPutBack = controller.getLibrary().removeFromTop(game);
if (controller.chooseUse(Outcome.Detriment, "Put " + cardToPutBack.getName() + " on buttom of library?", game)) {
String position = "on top";
if (controller.chooseUse(Outcome.Detriment, "Put " + cardToPutBack.getName() + " on bottom of library?", game)) {
controller.moveCardToLibraryWithInfo(cardToPutBack, source.getSourceId(), game, Zone.LIBRARY, false, false);
position = "on bottom";
}
game.informPlayers(sourceObject.getLogName() + ": " + controller.getName() + " puts the other card " + position + " of his or her library");
}
return true;
}