From d729ab31d2df14cd8461c6f14f6eb350a45592c2 Mon Sep 17 00:00:00 2001 From: ingmargoudt Date: Sat, 18 Feb 2017 22:49:43 +0100 Subject: [PATCH] ChandraTorchOfDefiance should only be able to cast spells with a casting cost. Cards like Ancestral Visions can not be cast. --- Mage.Sets/src/mage/cards/c/ChandraTorchOfDefiance.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/ChandraTorchOfDefiance.java b/Mage.Sets/src/mage/cards/c/ChandraTorchOfDefiance.java index 36d0bc9a56..ff7885a7e8 100644 --- a/Mage.Sets/src/mage/cards/c/ChandraTorchOfDefiance.java +++ b/Mage.Sets/src/mage/cards/c/ChandraTorchOfDefiance.java @@ -28,6 +28,7 @@ package mage.cards.c; import java.util.UUID; + import mage.MageObject; import mage.Mana; import mage.abilities.Ability; @@ -57,7 +58,6 @@ import mage.target.common.TargetCreatureOrPlayer; import mage.target.common.TargetCreaturePermanent; /** - * * @author fireshoes */ public class ChandraTorchOfDefiance extends CardImpl { @@ -117,7 +117,7 @@ class ChandraTorchOfDefianceEffect extends OneShotEffect { if (controller != null && sourceObject != null && controller.getLibrary().size() > 0) { Library library = controller.getLibrary(); Card card = library.removeFromTop(game); - if (card != null) { + if (card != null && !card.getManaCost().isEmpty()) { boolean exiledCardWasCast = false; controller.moveCardToExileWithInfo(card, source.getSourceId(), sourceObject.getIdName(), source.getSourceId(), game, Zone.LIBRARY, true); if (controller.chooseUse(Outcome.Benefit, "Cast the card? (You still pay the costs)", source, game) && !card.getCardType().contains(CardType.LAND)) {