mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Write into Being - Added game log info where the controller puts the other card.
This commit is contained in:
parent
aaed6935bc
commit
d7411b8b5a
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue