From b4938a68a30e1ec9147c38626df50c26fcda8f50 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 06:15:45 +0000 Subject: [PATCH] - A few minor edits and StringBuilder mods. Changing "T" to "tap". --- res/cards.txt | 18 +++++++++--------- src/forge/CardFactory.java | 11 ++++++----- src/forge/CardFactory_Instants.java | 13 ++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/res/cards.txt b/res/cards.txt index c5df99919e9..7fcc26a6618 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,12 @@ +Arashi, the Sky Asunder +3 G G +Legendary Creature Spirit +(NOTE: "X G, tap: Arashi, the Sky Asunder deals X damage to target creature with flying." not implemented.) (NOTE: "Channel - X G G, Discard Arashi: Arashi deals X damage to each creature with flying." not implemented.) +5/5 +SVar:RemAIDeck:True +SVar:Rarity:Rare +SVar:Picture:http://resources.wizards.com/magic/cards/sok/en-us/card87333.jpg + King Suleiman 1 W Creature Human @@ -1536,15 +1545,6 @@ Reach SVar:Rarity:Uncommon SVar:Picture:http://resources.wizards.com/magic/cards/5dn/en-us/card51230.jpg -Arashi, the Sky Asunder -3 G G -Legendary Creature Spirit -(NOTE: "X G, T: Arashi, the Sky Asunder deals X damage to target creature with flying." not implemented.) (NOTE: "Channel - X G G, Discard Arashi: Arashi deals X damage to each creature with flying." not implemented.) -5/5 -SVar:RemAIDeck:True -SVar:Rarity:Rare -SVar:Picture:http://resources.wizards.com/magic/cards/sok/en-us/card87333.jpg - Arc Runner 2 R Creature Elemental Ox diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 2452a677271..c2a2aedcfb1 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -6856,8 +6856,6 @@ public class CardFactory implements NewConstants { }//*************** END ************ END ************************** - - //*************** START *********** START ************************** else if(cardName.equals("Dragon Blood")) { Ability_Tap ability = new Ability_Tap(card, "3") { @@ -6882,11 +6880,14 @@ public class CardFactory implements NewConstants { } }; ability.setBeforePayMana(CardFactoryUtil.input_targetCreature(ability)); - ability.setDescription("3, T: Put a +1/+1 counter on target creature."); - ability.setStackDescription(card + ": put a +1/+1 counter on target Creature."); + ability.setDescription("3, tap: Put a +1/+1 counter on target creature."); + StringBuilder sb = new StringBuilder(); + sb.append(card).append(": put a +1/+1 counter on target Creature."); + ability.setStackDescription(sb.toString()); card.addSpellAbility(ability); }//*************** END ************ END ************************** + //*************** START *********** START ************************** else if(cardName.equals("AEther Vial")) { //final int[] converted = null; @@ -8197,7 +8198,7 @@ public class CardFactory implements NewConstants { } }; ability.setBeforePayMana(runtime); - ability.setDescription("T, Sacrifice Ashnod's Transmogrant: put a +1/+1 counter on target nonartifact creature. That creature becomes an artifact in addition to its other types."); + ability.setDescription("tap, Sacrifice Ashnod's Transmogrant: put a +1/+1 counter on target nonartifact creature. That creature becomes an artifact in addition to its other types."); card.addSpellAbility(ability); }//*************** END ************ END ************************** diff --git a/src/forge/CardFactory_Instants.java b/src/forge/CardFactory_Instants.java index cc1f304827d..d807af49595 100644 --- a/src/forge/CardFactory_Instants.java +++ b/src/forge/CardFactory_Instants.java @@ -2982,8 +2982,6 @@ public class CardFactory_Instants { }//*************** END ************ END ************************** - - //*************** START *********** START ************************** else if(cardName.equals("Banishing Knack")) { SpellAbility spell = new Spell(card) { @@ -3007,7 +3005,9 @@ public class CardFactory_Instants { @Override public void resolve() { - setStackDescription(creature + " - Return" + getTargetCard() + "to its owner's hand"); + StringBuilder sb = new StringBuilder(); + sb.append(creature).append(" - Return").append(getTargetCard()).append("to its owner's hand"); + setStackDescription(sb.toString()); final Card[] target = new Card[1]; target[0] = getTargetCard(); PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, target[0].getOwner()); @@ -3018,7 +3018,7 @@ public class CardFactory_Instants { } }//resolve() };//tBanish; - tBanish.setDescription("T: Return target nonland permanent to its owner's hand."); + tBanish.setDescription("tap: Return target nonland permanent to its owner's hand."); creature.addSpellAbility(tBanish); CardList all = new CardList(); all.addAll(AllZone.Human_Play.getCards()); @@ -3043,11 +3043,10 @@ public class CardFactory_Instants { spell.setBeforePayMana(CardFactoryUtil.input_targetCreature(spell)); card.clearSpellAbility(); card.addSpellAbility(spell); - spell.setDescription("Until end of turn, target creature gains \"T: Return target nonland permanent to its owner's hand.\""); - spell.setStackDescription("Target creature gains \"T: Return target nonland permanent to its owner's hand.\""); + spell.setDescription("Until end of turn, target creature gains \"tap: Return target nonland permanent to its owner's hand.\""); + spell.setStackDescription("Target creature gains \"tap: Return target nonland permanent to its owner's hand.\""); }//*************** END ************ END ************************** - //*************** START *********** START ************************** else if(cardName.equals("Vampiric Tutor")) {