From 3c4b945eb4f270caaa93ac079a69d80a7435128e Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 16 Apr 2015 17:17:05 +0200 Subject: [PATCH] * Gigapede - Fixed that discard was forcced also if you didn't want to use the return effect. --- Mage.Sets/src/mage/sets/onslaught/Gigapede.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/sets/onslaught/Gigapede.java b/Mage.Sets/src/mage/sets/onslaught/Gigapede.java index 8edb4894ffa..77c462f013b 100644 --- a/Mage.Sets/src/mage/sets/onslaught/Gigapede.java +++ b/Mage.Sets/src/mage/sets/onslaught/Gigapede.java @@ -31,6 +31,7 @@ import java.util.UUID; import mage.MageInt; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.costs.common.DiscardCardCost; +import mage.abilities.effects.common.DoIfCostPaid; import mage.abilities.effects.common.ReturnSourceFromGraveyardToHandEffect; import mage.abilities.keyword.ShroudAbility; import mage.cards.CardImpl; @@ -52,7 +53,6 @@ public class Gigapede extends CardImpl { this.expansionSetCode = "ONS"; this.subtype.add("Insect"); - this.color.setGreen(true); this.power = new MageInt(6); this.toughness = new MageInt(1); @@ -76,8 +76,7 @@ public class Gigapede extends CardImpl { class GigapedeTriggerdAbility extends BeginningOfUpkeepTriggeredAbility{ public GigapedeTriggerdAbility(){ - super(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(), TargetController.YOU, true); - this.addCost(new DiscardCardCost()); + super(Zone.GRAVEYARD, new DoIfCostPaid(new ReturnSourceFromGraveyardToHandEffect(), new DiscardCardCost()), TargetController.YOU, false); } public GigapedeTriggerdAbility(GigapedeTriggerdAbility ability) { @@ -104,6 +103,4 @@ class GigapedeTriggerdAbility extends BeginningOfUpkeepTriggeredAbility{ return "At the beginning of your upkeep, if {source} is in your graveyard, you may discard a card. If you do, return {source} to your hand"; } - - -} \ No newline at end of file +}