mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
parent
5aae6bf735
commit
868c9b0d48
1 changed files with 4 additions and 4 deletions
|
@ -69,9 +69,9 @@ class RealmsUnchartedEffect extends OneShotEffect {
|
|||
if (player == null) {
|
||||
return false;
|
||||
}
|
||||
TargetCardInLibrary target = new TargetCardWithDifferentNameInLibrary(0, 4, filter);
|
||||
player.searchLibrary(target, source, game);
|
||||
Cards cards = new CardsImpl(target.getTargets());
|
||||
TargetCardInLibrary targetCards = new TargetCardWithDifferentNameInLibrary(0, 4, filter);
|
||||
player.searchLibrary(targetCards, source, game);
|
||||
Cards cards = new CardsImpl(targetCards.getTargets());
|
||||
cards.retainZone(Zone.LIBRARY, game);
|
||||
if (cards.isEmpty()) {
|
||||
player.shuffleLibrary(source, game);
|
||||
|
@ -81,7 +81,7 @@ class RealmsUnchartedEffect extends OneShotEffect {
|
|||
if (cards.size() > 2) {
|
||||
TargetOpponent targetOpponent = new TargetOpponent();
|
||||
targetOpponent.setNotTarget(true);
|
||||
player.choose(outcome, target, source, game);
|
||||
player.choose(outcome, targetOpponent, source, game);
|
||||
Player opponent = game.getPlayer(targetOpponent.getFirstTarget());
|
||||
Cards cardsToKeep = new CardsImpl();
|
||||
cardsToKeep.addAll(cards);
|
||||
|
|
Loading…
Reference in a new issue