From 906daaec5717a865ad0ab057e087cda7b60b3402 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 13:10:55 +0000 Subject: [PATCH] - Converted SKeldon Warlord to stSetPT. --- res/cardsfolder/keldon_warlord.txt | 5 +++-- res/cardsfolder/reckless_one.txt | 2 +- src/forge/GameActionUtil.java | 14 ++++++++------ src/forge/StaticEffects.java | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/res/cardsfolder/keldon_warlord.txt b/res/cardsfolder/keldon_warlord.txt index f3cf67523bf..9bf90ae71b3 100644 --- a/res/cardsfolder/keldon_warlord.txt +++ b/res/cardsfolder/keldon_warlord.txt @@ -1,8 +1,9 @@ Name:Keldon Warlord ManaCost:2 R R Types:Creature Human Barbarian -Text:Keldon Warlord's power and toughness are each equal to the number of non-Wall creatures you control. -PT:1/1 +Text:no text +PT:*/* +K:stSetPT:Count$Valid Creature.nonWall+YouCtrl:Count$Valid Creature.nonWall+YouCtrl:Keldon Warlord's power and toughness are each equal to the number of non-Wall creatures you control. SVar:BuffedBy:Creature.nonWall SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/keldon_warlord.jpg diff --git a/res/cardsfolder/reckless_one.txt b/res/cardsfolder/reckless_one.txt index e8069b61f70..c5733a6e5b4 100644 --- a/res/cardsfolder/reckless_one.txt +++ b/res/cardsfolder/reckless_one.txt @@ -4,7 +4,7 @@ Types:Creature Goblin Avatar Text:no text PT:*/* K:Haste -K:stSetPT:Count$NumTypeYouCtrl.Goblin:Count$NumTypeYouCtrl.Goblin:Reckless One's power and toughness are each equal to the number of Goblins on the battlefield. +K:stSetPT:Count$Valid Goblin:Count$Valid Goblin:Reckless One's power and toughness are each equal to the number of Goblins on the battlefield. SVar:BuffedBy:Goblin SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/reckless_one.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index d8e3574b183..1f101eb26a1 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -14043,6 +14043,7 @@ public class GameActionUtil { } };//Old Man of the Sea + /* public static Command Serpent_of_the_Endless_Sea = new Command() { private static final long serialVersionUID = 8263339065128877297L; @@ -14055,7 +14056,7 @@ public class GameActionUtil { c.setBaseDefense(pt); } }// execute() - }; + };*/ public static Command Heedless_One = new Command() { private static final long serialVersionUID = -220650457326100804L; @@ -16299,13 +16300,14 @@ public class GameActionUtil { }// execute() }; // + /* public static Command Keldon_Warlord = new Command() { private static final long serialVersionUID = 3804539422363462063L; - /* + * * Keldon Warlord's power and toughness are each equal to the number * of non-Wall creatures you control. - */ + * public void execute() { // get all creatures CardList list = AllZoneUtil.getCardsInPlay("Keldon Warlord"); @@ -16328,7 +16330,7 @@ public class GameActionUtil { }); return creatures.size(); } - }; + };*/ public static Command Soulsurge_Elemental = new Command() { private static final long serialVersionUID = 8607200838396348507L; @@ -16434,7 +16436,7 @@ public class GameActionUtil { commands.put("Joiner_Adept", Joiner_Adept); commands.put("Kargan_Dragonlord", Kargan_Dragonlord); - commands.put("Keldon_Warlord", Keldon_Warlord); + //commands.put("Keldon_Warlord", Keldon_Warlord); commands.put("Kithkin_Rabble", Kithkin_Rabble); commands.put("Knight_of_Cliffhaven", Knight_of_Cliffhaven); commands.put("Korlash_Heir_to_Blackblade", Korlash_Heir_to_Blackblade); @@ -16478,7 +16480,7 @@ public class GameActionUtil { commands.put("Ruthless_Cullblade", Ruthless_Cullblade); - commands.put("Serpent_of_the_Endless_Sea", Serpent_of_the_Endless_Sea); + //commands.put("Serpent_of_the_Endless_Sea", Serpent_of_the_Endless_Sea); commands.put("Serra_Avatar", Serra_Avatar); commands.put("Skywatcher_Adept", Skywatcher_Adept); commands.put("Soulsurge_Elemental", Soulsurge_Elemental); diff --git a/src/forge/StaticEffects.java b/src/forge/StaticEffects.java index e4297043de5..b924453d344 100644 --- a/src/forge/StaticEffects.java +++ b/src/forge/StaticEffects.java @@ -72,7 +72,7 @@ public class StaticEffects cardToEffectsList.put("Joiner Adept", new String[] {"Joiner_Adept"}); cardToEffectsList.put("Kargan Dragonlord", new String[]{"Kargan_Dragonlord"}); - cardToEffectsList.put("Keldon Warlord", new String[] {"Keldon_Warlord"}); + //cardToEffectsList.put("Keldon Warlord", new String[] {"Keldon_Warlord"}); cardToEffectsList.put("Kithkin Rabble", new String[] {"Kithkin_Rabble"}); cardToEffectsList.put("Knight of Cliffhaven", new String[] {"Knight_of_Cliffhaven"}); cardToEffectsList.put("Korlash, Heir to Blackblade", new String[] {"Korlash_Heir_to_Blackblade"});