Fixed syntax error of cascadeAbility.
@@ -119,13 +119,12 @@ class CascadeEffect extends OneShotEffect {
break;
}
controller.moveCardsToExile(card, source, game, true, exile.getId(), exile.getName());
- }
- while (controller.isInGame() && (card.getCardType().contains(CardType.LAND) || !cardThatCostsLess(sourceCost, card, game)));
+ } while (controller.isInGame() && (card.getCardType().contains(CardType.LAND) || !cardThatCostsLess(sourceCost, card, game)));
controller.getLibrary().reset(); // set back empty draw state if that caused an empty draw
if (card != null) {
- if (controller.chooseUse(outcome, "Use cascade effect on " + card.getLogName() + "?", source, game)) {
+ if (controller.chooseUse(outcome, "Use cascade effect on " + card.getLogName() + '?', source, game)) {
controller.cast(card.getSpellAbility(), game, true);
}
// Move the remaining cards to the buttom of the library in a random order
@@ -138,6 +137,8 @@ class CascadeEffect extends OneShotEffect {
cardsToLibrary.add(card);
}
controller.putCardsOnBottomOfLibrary(cardsToLibrary, game, source, false);
+
+ }
return true;
}
