mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fix Scry effect
This commit is contained in:
parent
9629c3f0f5
commit
e74dc249bc
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ public class ScryEffect extends OneShotEffect {
|
||||||
cards.add(card);
|
cards.add(card);
|
||||||
}
|
}
|
||||||
TargetCard target1 = new TargetCard(Zone.LIBRARY, filter1);
|
TargetCard target1 = new TargetCard(Zone.LIBRARY, filter1);
|
||||||
|
target1.setRequired(false);
|
||||||
// move cards to the bottom of the library
|
// move cards to the bottom of the library
|
||||||
while (player.isInGame() && cards.size() > 0 && player.choose(Outcome.Detriment, cards, target1, game)) {
|
while (player.isInGame() && cards.size() > 0 && player.choose(Outcome.Detriment, cards, target1, game)) {
|
||||||
Card card = cards.get(target1.getFirstTarget(), game);
|
Card card = cards.get(target1.getFirstTarget(), game);
|
||||||
|
|
Loading…
Reference in a new issue