From 52403f4de43fc4928795aff9c8c6c440ecccc5bc Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 08:44:17 +0000 Subject: [PATCH] convert Lich Lord of Unx and Jund Battlemage to keyword --- res/cardsfolder/jund_battlemage.txt | 2 ++ res/cardsfolder/lich_lord_of_unx.txt | 1 + src/forge/CardFactory_Creatures.java | 11 ++++++----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/res/cardsfolder/jund_battlemage.txt b/res/cardsfolder/jund_battlemage.txt index f0923bd253f..d1f788345cb 100644 --- a/res/cardsfolder/jund_battlemage.txt +++ b/res/cardsfolder/jund_battlemage.txt @@ -3,6 +3,8 @@ ManaCost:2 R Types:Creature Human Shaman Text:no text PT:2/2 +K:abLoseLifeTgt B T:1 +K:abMakeToken G T<>1<>Saproling<>G 1 1 Saproling<>Controller<>G<>Creature;Saproling<>1<>1<>None<>put a 1/1 green Saproling creature token onto the battlefield. SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/jund_battlemage.jpg End diff --git a/res/cardsfolder/lich_lord_of_unx.txt b/res/cardsfolder/lich_lord_of_unx.txt index e6b74a46410..acb59370cb0 100644 --- a/res/cardsfolder/lich_lord_of_unx.txt +++ b/res/cardsfolder/lich_lord_of_unx.txt @@ -3,6 +3,7 @@ ManaCost:1 U B Types:Creature Zombie Wizard Text:no text PT:2/2 +K:abMakeToken U B T<>1<>Zombie Wizard<>UB 1 1 Zombie Wizard<>Controller<>UB<>Creature;Zombie;Wizard<>1<>1<>None<>put a 1/1 blue and black Zombie Wizard creature token onto the battlefield. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/lich_lord_of_unx.jpg End diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 2f5781946c7..2f18f856786 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -14241,7 +14241,7 @@ public class CardFactory_Creatures { } //*************** END ************ END ************************** - + /* //*************** START *********** START ************************** if(cardName.equals("Jund Battlemage")) { final SpellAbility ability = new Ability_Tap(card, "G") { @@ -14286,11 +14286,12 @@ public class CardFactory_Creatures { ability2.setStackDescription(card.getName() + " - Opponent loses 1 life."); }//*************** END ************ END ************************** - + */ //*************** START *********** START ************************** if(cardName.equals("Lich Lord of Unx")) { - final SpellAbility ability = new Ability_Tap(card, "U B") { + /* + final SpellAbility ability = new Ability_Tap(card, "U B") { private static final long serialVersionUID = 8909297504020264315L; @Override @@ -14303,7 +14304,7 @@ public class CardFactory_Creatures { ability.setDescription("U B, Tap: Put a 1/1 blue and black Zombie Wizard creature token onto the battlefield."); ability.setStackDescription(card.getName() + " - " + card.getController() + "puts a 1/1 blue and black Zombie Wizard creature token onto the battlefield."); - + */ final Ability ability2 = new Ability(card, "U U B B") { @Override public boolean canPlayAI() { @@ -14334,7 +14335,7 @@ public class CardFactory_Creatures { ability2.setDescription("U U B B: Target player loses X life and puts the top X cards of his or her library into his or her graveyard, where X is the number of Zombies you control."); ability2.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability2)); - card.addSpellAbility(ability); + //card.addSpellAbility(ability); card.addSpellAbility(ability2); }//*************** END ************ END **************************