From a5de1ff27323d958e9aa9ab6aab9d26b1207eab8 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 05:14:10 +0000 Subject: [PATCH] Added Back to Nature. --- res/card-pictures.txt | 1 + res/cards.txt | 5 +++++ src/forge/CardFactory.java | 12 +++++++----- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/res/card-pictures.txt b/res/card-pictures.txt index fe28ff01f34..53b9f533193 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg +back_to_nature.jpg http://www.wizards.com/global/images/magic/general/back_to_nature.jpg augury_owl.jpg http://www.wizards.com/global/images/magic/general/augury_owl.jpg water_servant.jpg http://www.wizards.com/global/images/magic/general/water_servant.jpg temple_bell.jpg http://www.wizards.com/global/images/magic/general/temple_bell.jpg diff --git a/res/cards.txt b/res/cards.txt index 523b1723348..3c7f2d7c7e1 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,8 @@ +Back to Nature +1 G +Instant +no text + Augury Owl 1 U Creature Bird diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 817b87e04b7..dcf6b1889cb 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -10556,9 +10556,9 @@ public class CardFactory implements NewConstants { }// *************** END ************ END ************************** //*************** START *********** START ************************** - else if(cardName.equals("Tranquility") || cardName.equals("Tempest of Light") - || cardName.equals("Cleanfall") || cardName.equals("Hush") - || cardName.equals("Tranquil Path")) { + else if(cardName.equals("Tranquility") || cardName.equals("Tempest of Light") + || cardName.equals("Cleanfall") || cardName.equals("Hush") + || cardName.equals("Tranquil Path") || cardName.equals("Back to Nature")) { SpellAbility spell = new Spell(card) { private static final long serialVersionUID = 3087098751201624354L; @@ -10597,11 +10597,13 @@ public class CardFactory implements NewConstants { } };// SpellAbility spell.setDescription("Destroy all enchantments."); - spell.setStackDescription(card.getName() + " - destroy all enchantments."); + StringBuffer sb = new StringBuffer(); + sb.append(card.getName()).append(" - destroy all enchantments."); + spell.setStackDescription(sb.toString()); + // spell.setStackDescription(card.getName() + " - destroy all enchantments."); card.clearSpellAbility(); card.addSpellAbility(spell); }// *************** END ************ END ************************** - //*************** START *********** START ************************** else if(cardName.equals("Incendiary Command")) {