From f49235a34f57e9aba62e43b7cee371bfda451928 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 5 Apr 2014 16:18:43 +0200 Subject: [PATCH] * Suspend - Fixed that cards with suspend but without costs (e.g. Living End) could be cast for no costs (without Suspend). --- Mage/src/mage/abilities/SpellAbility.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage/src/mage/abilities/SpellAbility.java b/Mage/src/mage/abilities/SpellAbility.java index 4b5d86016a..2d01f1f23b 100644 --- a/Mage/src/mage/abilities/SpellAbility.java +++ b/Mage/src/mage/abilities/SpellAbility.java @@ -93,10 +93,10 @@ public class SpellAbility extends ActivatedAbilityImpl { if (!controllerId.equals(playerId)) { return false; } - // Why is this check made? It prevents Flashback with non mana costs (Cabal Therapy) -// if (this.getManaCosts().isEmpty()) { -// return false; -// } + // Check if spell has no costs (not {0} mana costs), than it's not castable. E.g. for spells like Living End, that only can be cast by Suspend Ability. + if (this.getManaCosts().isEmpty() && this.getCosts().isEmpty()) { + return false; + } if (costs.canPay(sourceId, controllerId, game)) { if (getSpellAbilityType().equals(SpellAbilityType.SPLIT_FUSED)) { SplitCard splitCard = (SplitCard) game.getCard(getSourceId());