From ec69b60fb4d005e9b450deee4ad1102b916f9431 Mon Sep 17 00:00:00 2001 From: Sloth Date: Thu, 10 Nov 2011 20:19:46 +0000 Subject: [PATCH] - Converted Stitch Together to script. --- res/cardsfolder/s/stitch_together.txt | 5 ++++- .../java/forge/card/cardfactory/CardFactorySorceries.java | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/cardsfolder/s/stitch_together.txt b/res/cardsfolder/s/stitch_together.txt index dd7466973ad..e4ef4cc6112 100644 --- a/res/cardsfolder/s/stitch_together.txt +++ b/res/cardsfolder/s/stitch_together.txt @@ -1,7 +1,10 @@ Name:Stitch Together ManaCost:B B Types:Sorcery -Text:Return target creature card from your graveyard to your hand.\r\nThreshold - Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. +Text:no text +A:SP$ ChangeZone | Cost$ B B | Origin$ Graveyard | Destination$ Hand | TgtPrompt$ Choose target creature card in your graveyard | ValidTgts$ Creature.YouCtrl | ConditionCheckSVar$ X | ConditionSVarCompare$ LE6 | SubAbility$ DBChangeZone | SpellDescription$ Return target creature card from your graveyard to your hand. Threshold - Return that card from your graveyard to the battlefield instead if seven or more cards are in your graveyard. +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Battlefield | ConditionCheckSVar$ X | ConditionSVarCompare$ GE7 +SVar:X:Count$InYourYard SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/stitch_together.jpg SetInfo:COM|Uncommon|http://magiccards.info/scans/en/cmd/102.jpg diff --git a/src/main/java/forge/card/cardfactory/CardFactorySorceries.java b/src/main/java/forge/card/cardfactory/CardFactorySorceries.java index 4363ed9e645..394550ecb00 100644 --- a/src/main/java/forge/card/cardfactory/CardFactorySorceries.java +++ b/src/main/java/forge/card/cardfactory/CardFactorySorceries.java @@ -1928,7 +1928,7 @@ public class CardFactorySorceries { } // *************** END ************ END ************************** // *************** START *********** START ************************** - else if (cardName.equals("Stitch Together")) { + /*else if (cardName.equals("Stitch Together")) { final SpellAbility spell = new Spell(card) { private static final long serialVersionUID = -57996914115026814L; @@ -2008,7 +2008,7 @@ public class CardFactorySorceries { } // showMessage() }; // Input spell.setBeforePayMana(target); - } // *************** END ************ END ************************** + }*/ // *************** END ************ END ************************** // *************** START *********** START ************************** else if (cardName.equals("Patriarch's Bidding")) {