mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
* Gigapede - Fixed that discard was forcced also if you didn't want to use the return effect.
This commit is contained in:
parent
b252bb1c7a
commit
3c4b945eb4
1 changed files with 3 additions and 6 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue