Fix Scry effect

This commit is contained in:
Quercitron 2014-06-15 19:24:26 +04:00
parent 9629c3f0f5
commit e74dc249bc

View file

@ -80,6 +80,7 @@ public class ScryEffect extends OneShotEffect {
cards.add(card);
}
TargetCard target1 = new TargetCard(Zone.LIBRARY, filter1);
target1.setRequired(false);
// move cards to the bottom of the library
while (player.isInGame() && cards.size() > 0 && player.choose(Outcome.Detriment, cards, target1, game)) {
Card card = cards.get(target1.getFirstTarget(), game);