From 6438f476fbfbe65bf6aa6fbf3751fcabc820e87f Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 10:40:18 +0000 Subject: [PATCH] - Converted Academy Ruins and Volrath's Stronghold to keyword. --- res/cardsfolder/academy_ruins.txt | 3 +- res/cardsfolder/feast_of_blood.txt | 2 +- res/cardsfolder/volraths_stronghold.txt | 1 + src/forge/CardFactory_Lands.java | 115 +----------------------- 4 files changed, 5 insertions(+), 116 deletions(-) diff --git a/res/cardsfolder/academy_ruins.txt b/res/cardsfolder/academy_ruins.txt index 08d5327ed99..c87d51670ff 100644 --- a/res/cardsfolder/academy_ruins.txt +++ b/res/cardsfolder/academy_ruins.txt @@ -2,7 +2,8 @@ Name:Academy Ruins ManaCost:no cost Types:Legendary Land Text:no text -K:tap: add 1 +K:tap: add +A:AB$Retrieve|Cost$1 U T|TgtPrompt$Choose target artifact card in your graveyard|ValidTgts$Artifact.YouCtrl|Destination$Library|SpellDescription$Put target artifact card from your graveyard on top of your library. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/academy_ruins.jpg End diff --git a/res/cardsfolder/feast_of_blood.txt b/res/cardsfolder/feast_of_blood.txt index bcdf54af071..cbf4cb8b5cd 100644 --- a/res/cardsfolder/feast_of_blood.txt +++ b/res/cardsfolder/feast_of_blood.txt @@ -2,7 +2,7 @@ Name:Feast of Blood ManaCost:1 B Types:Sorcery Text:no text -A:SP$Destroy|Cost$1 B|ValidTgts$Creature|TgtPrompt$Select target creature|SubAbility$YouGainLife/4|isPresent$Vampire.YouCtrl|PresentCompare$GE2|SpellDescription$Cast Feast of Blood only if you control two or more Vampires.\r\nDestroy target creature. You gain 4 life. +A:SP$Destroy|Cost$1 B|ValidTgts$Creature|TgtPrompt$Select target creature|SubAbility$YouGainLife/4|IsPresent$Vampire.YouCtrl|PresentCompare$GE2|SpellDescription$Cast Feast of Blood only if you control two or more Vampires.\r\nDestroy target creature. You gain 4 life. SVar:RemAIDeck:True SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/feast_of_blood.jpg diff --git a/res/cardsfolder/volraths_stronghold.txt b/res/cardsfolder/volraths_stronghold.txt index eca31587c0d..7c60bfdc452 100644 --- a/res/cardsfolder/volraths_stronghold.txt +++ b/res/cardsfolder/volraths_stronghold.txt @@ -3,6 +3,7 @@ ManaCost:no cost Types:Legendary Land Text:no text K:tap: add 1 +A:AB$Retrieve|Cost$1 B T|TgtPrompt$Choose target creature card in your graveyard|ValidTgts$Creature.YouCtrl|Destination$Library|SpellDescription$Put target creature card from your graveyard on top of your library. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/volraths_stronghold.jpg End diff --git a/src/forge/CardFactory_Lands.java b/src/forge/CardFactory_Lands.java index f7aea8ef274..55a9fe31f9d 100644 --- a/src/forge/CardFactory_Lands.java +++ b/src/forge/CardFactory_Lands.java @@ -1494,120 +1494,6 @@ class CardFactory_Lands { }//*************** END ************ END ************************** /* - //*************** START *********** START ************************** - else if(cardName.equals("Wirewood Lodge")) { - final Ability_Tap ability = new Ability_Tap(card, "G") { - private static final long serialVersionUID = -4352872789672871590L; - - @Override - public boolean canPlayAI() { - return false; - } - - @Override - public void resolve() { - - final Card[] target = new Card[1]; - - - target[0] = getTargetCard(); - if(AllZone.GameAction.isCardInPlay(target[0]) - && target[0].isTapped() - && (target[0].getType().contains("Elf") || target[0].getKeyword().contains( - "Changeling")) && CardFactoryUtil.canTarget(card, target[0])) { - target[0].untap(); - } - } - }; - - Input runtime = new Input() { - private static final long serialVersionUID = -6822924521729238991L; - - @Override - public void showMessage() { - CardList choice = new CardList(); - choice.addAll(AllZone.Human_Play.getCards()); - choice.addAll(AllZone.Computer_Play.getCards()); - - choice = choice.getType("Elf"); - choice = choice.filter(new CardListFilter() { - public boolean addCard(Card c) { - return (c.isTapped()); - } - }); - - //System.out.println("size of choice: " + choice.size()); - stopSetNext(CardFactoryUtil.input_targetSpecific(ability, choice, "Select target Elf", true, - false)); - } - }; - - ability.setDescription("G, tap: Untap target Elf."); - ability.setStackDescription(card.getName() + " - untaps target elf."); - - card.addSpellAbility(ability); - ability.setBeforePayMana(runtime); - - }//*************** END ************ END ************************** - */ - - /* - //*************** START *********** START ************************** - else if(cardName.equals("Deserted Temple")) { - final Ability_Tap ability = new Ability_Tap(card, "1") { - - private static final long serialVersionUID = -3463896908132386453L; - - @Override - public boolean canPlayAI() { - return false; - } - - @Override - public void resolve() { - - final Card[] target = new Card[1]; - - - target[0] = getTargetCard(); - if(AllZone.GameAction.isCardInPlay(target[0]) - && target[0].isTapped() - && (target[0].getType().contains("Land")) && CardFactoryUtil.canTarget(card, target[0])) { - target[0].untap(); - } - } - }; - - Input runtime = new Input() { - private static final long serialVersionUID = -6822924521729238991L; - - @Override - public void showMessage() { - CardList choice = new CardList(); - choice.addAll(AllZone.Human_Play.getCards()); - choice.addAll(AllZone.Computer_Play.getCards()); - - choice = choice.getType("Land"); - choice = choice.filter(new CardListFilter() { - public boolean addCard(Card c) { - return (c.isTapped()); - } - }); - - //System.out.println("size of choice: " + choice.size()); - stopSetNext(CardFactoryUtil.input_targetSpecific(ability, choice, "Select target Land", true, - false)); - } - }; - - ability.setDescription("1, tap: Untap target land."); - - card.addSpellAbility(ability); - ability.setBeforePayMana(runtime); - - }//*************** END ************ END ************************** - */ - //*************** START *********** START ************************** else if(cardName.equals("Academy Ruins")) { final Ability_Tap ability = new Ability_Tap(card, "1 U") { @@ -1785,6 +1671,7 @@ class CardFactory_Lands { }//*************** END ************ END ************************** + */ //*************** START *********** START ************************** else if(cardName.equals("Oboro, Palace in the Clouds")) {