Fixed merge conflict

This commit is contained in:
vraskulin 2017-02-06 14:36:09 +03:00
parent 0557b5e89c
commit 076045d862

View file

@ -44,16 +44,14 @@ import mage.game.stack.Spell;
import mage.players.Player;
/**
*
* @author BetaSteward_at_googlemail.com
*/
public class CascadeAbility extends TriggeredAbilityImpl {
//20091005 - 702.82
private boolean withReminder;
private final static String reminderText = " <i>(When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less."
+ " You may cast it without paying its mana cost. Put the exiled cards on the bottom in a random order.)</i>";
private boolean withReminder;
public CascadeAbility() {
this(true);
@ -121,7 +119,8 @@ 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