mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
Notifying players of library search, and giving controller choice to search
This commit is contained in:
parent
4057cc2859
commit
2ed63a7184
2 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue