mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix Medomai's Prophecy (#6271)
Fixes https://github.com/magefree/mage/issues/6262 lookAtCards replaces old instances with the same name.
This commit is contained in:
parent
51424b1460
commit
fb82303b85
1 changed files with 2 additions and 3 deletions
|
@ -146,9 +146,8 @@ class MedomaisProphecyLookEffect extends OneShotEffect {
|
|||
.getPlayersInRange(source.getControllerId(), game)
|
||||
.stream()
|
||||
.map(game::getPlayer)
|
||||
.map(Player::getLibrary)
|
||||
.forEachOrdered(library -> controller.lookAtCards(
|
||||
sourceObject.getIdName(), library.getFromTop(game), game
|
||||
.forEachOrdered(player -> controller.lookAtCards(
|
||||
sourceObject.getIdName() + " " + player.getName(), player.getLibrary().getFromTop(game), game
|
||||
));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue