From e1f04e773955d41fe4ffbb0f7eebf41f42282756 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 14:00:49 +0000 Subject: [PATCH] convert Voice of the Woods to AB$Token --- res/cardsfolder/voice_of_the_woods.txt | 1 + src/forge/CardFactory_Creatures.java | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/res/cardsfolder/voice_of_the_woods.txt b/res/cardsfolder/voice_of_the_woods.txt index da757622595..92e8a13337f 100644 --- a/res/cardsfolder/voice_of_the_woods.txt +++ b/res/cardsfolder/voice_of_the_woods.txt @@ -3,6 +3,7 @@ ManaCost:3 G G Types:Creature Elf Text:no text PT:2/2 +A:AB$Token | Cost$ tapXType<5/Elf> | TokenOwner$ Controller | TokenAmount$ 1 | TokenName$ Elemental | TokenTypes$ Creature,Elemental | TokenColors$ Green | TokenPower$ 7 | TokenToughness$ 7 | TokenKeywords$ Trample |SpellDescription$ Put a 7/7 green Elemental creature token with trample onto the battlefield. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/voice_of_the_woods.jpg SetInfo:ONS|Rare|http://magiccards.info/scans/en/on/297.jpg diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 21235075fad..fcd05a01fc7 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -13029,30 +13029,6 @@ public class CardFactory_Creatures { }//*************** END ************ END ************************** - //*************** START *********** START ************************** - else if(cardName.equals("Voice of the Woods")) - { - final Ability ability = new Ability(card, "0") - { - public void resolve() - { - CardFactoryUtil.makeToken("Elemental", "G 7 7 Elemental", getActivatingPlayer(), "G", new String[] { - "Creature", "Elemental"}, 7, 7, new String[] {"Trample"}); - } - }; - - final Ability_Cost cost = new Ability_Cost("tapXType<5/Elf>", card.getName(), true); - ability.setPayCosts(cost); - - ability.setDescription("Tap five untapped Elves you control: Put a 7/7 green Elemental creature token with trample onto the battlefield."); - - StringBuilder sb = new StringBuilder(); - sb.append(card).append(" - Put a 7/7 green Elemental creature token with trample onto the battlefield."); - ability.setStackDescription(sb.toString()); - - card.addSpellAbility(ability); - }//*************** END ************ END ************************** - //*************** START *********** START ************************** else if(cardName.equals("Singing Tree")) { final String Tgts[] = {"Creature.attacking"};