From 48ec5ab4235a5c0b68c6714f46b53a3084eb97ff Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 10:38:27 +0000 Subject: [PATCH] - Converted Dust to Dust and Hex to keyword. - Added Flash Flood. --- .gitattributes | 1 + res/cardsfolder/dust_to_dust.txt | 6 +++--- res/cardsfolder/flash_flood.txt | 10 ++++++++++ res/cardsfolder/hex.txt | 3 ++- res/cardsfolder/sprout.txt | 2 +- src/forge/CardFactory_Sorceries.java | 11 +++++------ 6 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 res/cardsfolder/flash_flood.txt diff --git a/.gitattributes b/.gitattributes index 3761df896e4..844b1633b24 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1585,6 +1585,7 @@ res/cardsfolder/flaming_sword.txt -text svneol=native#text/plain res/cardsfolder/flanking_troops.txt -text svneol=native#text/plain res/cardsfolder/flare.txt -text svneol=native#text/plain res/cardsfolder/flash_counter.txt -text svneol=native#text/plain +res/cardsfolder/flash_flood.txt -text svneol=native#text/plain res/cardsfolder/flashfires.txt -text svneol=native#text/plain res/cardsfolder/flashfreeze.txt -text svneol=native#text/plain res/cardsfolder/fledgling_djinn.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/dust_to_dust.txt b/res/cardsfolder/dust_to_dust.txt index f820d047a89..eca9819a0d6 100644 --- a/res/cardsfolder/dust_to_dust.txt +++ b/res/cardsfolder/dust_to_dust.txt @@ -1,8 +1,8 @@ Name:Dust to Dust ManaCost:1 W W Types:Sorcery -Text:Exile two target artifacts. -SVar:RemAIDeck:True -SVar:Rarity:Common +Text:no text +A:SP$Bounce|Cost$1 W W|TargetMin$2|TargetMax$2|ValidTgts$Artifact|TgtPrompt$Select target artifact|Destination$Exile|SpellDescription$Exile two target artifacts. +SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/dust_to_dust.jpg End diff --git a/res/cardsfolder/flash_flood.txt b/res/cardsfolder/flash_flood.txt new file mode 100644 index 00000000000..be74892f082 --- /dev/null +++ b/res/cardsfolder/flash_flood.txt @@ -0,0 +1,10 @@ +Name:Flash Flood +ManaCost:U +Types:Instant +Text:no text +A:SP$Destroy|Cost$U|ValidTgts$Permanent.Red|TgtPrompt$Select target red permanent|PrecostDesc$Choose one - |SpellDescription$Destroy target red permanent; +A:SP$Bounce|Cost$U|ValidTgts$Mountain|TgtPrompt$Select target Mountain|Destination$Hand|SpellDescription$or return target Mountain to its owner's hand. +SVar:RemAIDeck:True +SVar:Rarity:Common +SVar:Picture:http://www.wizards.com/global/images/magic/general/flash_flood.jpg +End diff --git a/res/cardsfolder/hex.txt b/res/cardsfolder/hex.txt index e05b17e919e..97277a1808c 100644 --- a/res/cardsfolder/hex.txt +++ b/res/cardsfolder/hex.txt @@ -1,7 +1,8 @@ Name:Hex ManaCost:4 B B Types:Sorcery -Text:Destroy six target creatures. +Text:no text +A:SP$Destroy|Cost$4 B B|TargetMin$6|TargetMax$6|ValidTgts$Creature|TgtPrompt$Select target creatures|SpellDescription$Destroy six target creatures. SVar:Rarity:Rare SVar:Picture:http://resources.wizards.com/magic/cards/rav/en-us/card89059.jpg End diff --git a/res/cardsfolder/sprout.txt b/res/cardsfolder/sprout.txt index 5ea8e7a6296..426c6ddcc58 100644 --- a/res/cardsfolder/sprout.txt +++ b/res/cardsfolder/sprout.txt @@ -3,7 +3,7 @@ ManaCost:G Types:Instant Text:Put a 1/1 green Saproling creature token onto the battlefield. #K:spMakeToken<>1<>Saproling<>G 1 1 Saproling<>Controller<>G<>Creature;Saproling<>1<>1<>None -A:SP$Token|Cost$2 G|TokenAmount$1|TokenName$Saproling|TokenTypes$Creature,Saproling|TokenOwner$Controller|TokenColors$Green|TokenPower$1|TokenToughness$1 +A:SP$Token|Cost$G|TokenAmount$1|TokenName$Saproling|TokenTypes$Creature,Saproling|TokenOwner$Controller|TokenColors$Green|TokenPower$1|TokenToughness$1 SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/sprout.jpg End diff --git a/src/forge/CardFactory_Sorceries.java b/src/forge/CardFactory_Sorceries.java index db398c50b1d..da9b241a193 100644 --- a/src/forge/CardFactory_Sorceries.java +++ b/src/forge/CardFactory_Sorceries.java @@ -256,7 +256,7 @@ public class CardFactory_Sorceries { card.setSVar("PlayMain1", "TRUE"); }//*************** END ************ END ************************** - + /* //*************** START *********** START ************************** else if(cardName.equals("Hex")) { final Card[] target = new Card[6]; @@ -346,7 +346,7 @@ public class CardFactory_Sorceries { card.setSVar("PlayMain1", "TRUE"); }//*************** END ************ END ************************** - + */ //*************** START *********** START ************************** else if(cardName.equals("Political Trickery")) { @@ -7247,11 +7247,10 @@ public class CardFactory_Sorceries { spell.setBeforePayMana(runtime); }//*************** END ************ END ************************** + /* //*************** START *********** START ************************** else if(cardName.equals("Dust to Dust")) { - /* - * Exile two target artifacts. - */ + final Card[] target = new Card[2]; final int[] index = new int[1]; @@ -7342,7 +7341,7 @@ public class CardFactory_Sorceries { card.addSpellAbility(spell); spell.setBeforePayMana(runtime); }//*************** END ************ END ************************** - + */ //*************** START *********** START ************************** else if(cardName.equals("Take Possession")) {