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) {
|
if (player == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
TargetCardInLibrary target = new TargetCardWithDifferentNameInLibrary(0, 4, filter);
|
TargetCardInLibrary targetCards = new TargetCardWithDifferentNameInLibrary(0, 4, filter);
|
||||||
player.searchLibrary(target, source, game);
|
player.searchLibrary(targetCards, source, game);
|
||||||
Cards cards = new CardsImpl(target.getTargets());
|
Cards cards = new CardsImpl(targetCards.getTargets());
|
||||||
cards.retainZone(Zone.LIBRARY, game);
|
cards.retainZone(Zone.LIBRARY, game);
|
||||||
if (cards.isEmpty()) {
|
if (cards.isEmpty()) {
|
||||||
player.shuffleLibrary(source, game);
|
player.shuffleLibrary(source, game);
|
||||||
|
@ -81,7 +81,7 @@ class RealmsUnchartedEffect extends OneShotEffect {
|
||||||
if (cards.size() > 2) {
|
if (cards.size() > 2) {
|
||||||
TargetOpponent targetOpponent = new TargetOpponent();
|
TargetOpponent targetOpponent = new TargetOpponent();
|
||||||
targetOpponent.setNotTarget(true);
|
targetOpponent.setNotTarget(true);
|
||||||
player.choose(outcome, target, source, game);
|
player.choose(outcome, targetOpponent, source, game);
|
||||||
Player opponent = game.getPlayer(targetOpponent.getFirstTarget());
|
Player opponent = game.getPlayer(targetOpponent.getFirstTarget());
|
||||||
Cards cardsToKeep = new CardsImpl();
|
Cards cardsToKeep = new CardsImpl();
|
||||||
cardsToKeep.addAll(cards);
|
cardsToKeep.addAll(cards);
|
||||||
|
|
Loading…
Reference in a new issue