Notifying players of library search, and giving controller choice to search

This commit is contained in:
Tyler Moore 2018-10-04 15:14:43 -07:00
parent 4057cc2859
commit 2ed63a7184
2 changed files with 5 additions and 1 deletions

View file

@ -239,7 +239,10 @@ class JaceArchitectOfThoughtEffect3 extends OneShotEffect {
if (controller == null || sourcePermanent == null) {
return false;
}
controller.lookAtAllLibraries(source, game);
if(controller.chooseUse(Outcome.Benefit, "Look at all players' libraries before card select?", null, game)) {
game.informPlayers(controller.getLogName() + " is looking at all players' libraries.");
controller.lookAtAllLibraries(source, game);
}
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
Player player = game.getPlayer(playerId);
String playerName = new StringBuilder(player.getLogName()).append("'s").toString();