mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fix Niv Mizzet Reborn so you must select as many cards as possible and so that players are informed of all the revealed cards.
This commit is contained in:
parent
b708494647
commit
a020326fce
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,7 @@ class NivMizzetRebornEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
private TargetCard getTarget() {
|
||||
return new TargetCardInLibrary(makeFilter());
|
||||
return new TargetCard(Zone.LIBRARY, makeFilter());
|
||||
}
|
||||
|
||||
private String getDescription() {
|
||||
|
@ -134,6 +134,8 @@ class NivMizzetRebornEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
Cards cards = new CardsImpl(player.getLibrary().getTopCards(game, 10));
|
||||
game.informPlayers(player.getName() + " reveals " +
|
||||
cards.getCards(game).stream().map(card -> card.getName() + " ").reduce((a, b) -> a + b));
|
||||
Cards cards2 = new CardsImpl();
|
||||
if (cards.isEmpty()) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue