* Suspend - Fixed that cards with suspend but without costs (e.g. Living End) could be cast for no costs (without Suspend).

This commit is contained in:
LevelX2 2014-04-05 16:18:43 +02:00
parent 6a827fcce8
commit f49235a34f

View file

@ -93,10 +93,10 @@ public class SpellAbility extends ActivatedAbilityImpl<SpellAbility> {
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());