From cb19f6c82fd3399c33e3de35a924b7c0bb0ff580 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 08:31:37 +0000 Subject: [PATCH] convert Urza's Factory and Kjeldoran Outppost to abMakeToken keyword --- res/cardsfolder/kjeldoran_outpost.txt | 1 + res/cardsfolder/urzas_factory.txt | 1 + src/forge/CardFactory_Lands.java | 9 ++++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/res/cardsfolder/kjeldoran_outpost.txt b/res/cardsfolder/kjeldoran_outpost.txt index ae3417e819e..3786df2c219 100644 --- a/res/cardsfolder/kjeldoran_outpost.txt +++ b/res/cardsfolder/kjeldoran_outpost.txt @@ -3,6 +3,7 @@ ManaCost:no cost Types:Land Text:If Kjeldoran Outpost would enter the battlefield, sacrifice a Plains instead. If you do, put Kjeldoran Outpost onto the battlefield. If you don't, put it into its owner's graveyard. K:tap: add W +K:abMakeToken 1 W T<>1<>Soldier<>W 1 1 Soldier<>Controller<>W<>Creature;Soldier<>1<>1<>None<>Put a 1/1 white Soldier creature token onto the battlefield. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/kjeldoran_outpost.jpg End diff --git a/res/cardsfolder/urzas_factory.txt b/res/cardsfolder/urzas_factory.txt index 3a590e97bdc..3a2887f60db 100644 --- a/res/cardsfolder/urzas_factory.txt +++ b/res/cardsfolder/urzas_factory.txt @@ -3,6 +3,7 @@ ManaCost:no cost Types:Land Urza's Text:no text K:tap: add 1 +K:abMakeToken 7<>1<>Assembly-Worker<>C 2 2 Assembly-Worker<>Controller<>1<>Artifact;Creature;Assembly-Worker<>2<>2<>None<>Put a 2/2 colorless Assembly-Worker artifact creature token onto the battlefield. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/urzas_factory.jpg End diff --git a/src/forge/CardFactory_Lands.java b/src/forge/CardFactory_Lands.java index d7949ecc03b..b5a5e43742d 100644 --- a/src/forge/CardFactory_Lands.java +++ b/src/forge/CardFactory_Lands.java @@ -2557,6 +2557,7 @@ class CardFactory_Lands { } //*************** END ************ END ************************** + /* //*************** START *********** START ************************** else if(cardName.equals("Urza's Factory")) { final Ability_Tap ability = new Ability_Tap(card, "7") { @@ -2582,6 +2583,7 @@ class CardFactory_Lands { card.addSpellAbility(ability); }//*************** END ************ END ************************** + */ //*************** START *********** START ************************** else if(cardName.equals("Goblin Burrows")) { @@ -3574,20 +3576,21 @@ class CardFactory_Lands { } } }; - + /* final Ability_Tap ability2 = new Ability_Tap(card, "1 W") { private static final long serialVersionUID = 6987135326425915833L; public void resolve() { CardFactoryUtil.makeToken("Soldier", "W 1 1 Soldier", card, "W", new String[] {"Creature", "Soldier"}, 1, 1, new String[] {""}); } - };//SpellAbility + };//SpellAbility */ card.addComesIntoPlayCommand(comesIntoPlay); + /* card.addSpellAbility(ability2); ability2.setDescription("1 W, tap: Put a 1/1 white soldier token in play."); ability2.setStackDescription("Kjeldoran Outpost - put a 1/1 white soldier token in play"); ability2.setBeforePayMana(new Input_PayManaCost(ability2)); - + */ }//*************** END ************ END ************************** //*************** START *********** START **************************