From c84088c542c499f6893a8183fba0aac2c3c79cd6 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 09:54:27 +0000 Subject: [PATCH] convert Goblin King to stPumpAll keyword. --- res/cardsfolder/goblin_king.txt | 3 ++- src/forge/GameActionUtil.java | 9 +++++---- src/forge/StaticEffects.java | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/res/cardsfolder/goblin_king.txt b/res/cardsfolder/goblin_king.txt index 4f0c528fa66..c4e2ac26cf9 100644 --- a/res/cardsfolder/goblin_king.txt +++ b/res/cardsfolder/goblin_king.txt @@ -1,8 +1,9 @@ Name:Goblin King ManaCost:1 R R Types:Creature Goblin -Text:Other Goblin creatures get +1/+1 and have mountainwalk. +Text:no text PT:2/2 +K:stPumpAll:Creature.Goblin+Other:1/1/Mountainwalk:No Condition:Other Goblin creatures get +1/+1 and have mountainwalk. SVar:PlayMain1:TRUE SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/goblin_king.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 63ce43c64a7..c8554de78e3 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -16910,7 +16910,7 @@ public class GameActionUtil { }; //Goblin_Chieftain_Other - + /* public static Command Goblin_King_Pump = new Command() { private static final long serialVersionUID = -2128898623878576243L; @@ -16987,7 +16987,8 @@ public class GameActionUtil { }// execute() }; //Goblin_King_Other - + */ + public static Command Merfolk_Sovereign_Pump = new Command() { private static final long serialVersionUID = -8250416279767429585L; @@ -21008,8 +21009,8 @@ public class GameActionUtil { commands.put("Timber_Protector_Other", Timber_Protector_Other); commands.put("Goblin_Chieftain_Pump", Goblin_Chieftain_Pump); commands.put("Goblin_Chieftain_Other", Goblin_Chieftain_Other); - commands.put("Goblin_King_Pump", Goblin_King_Pump); - commands.put("Goblin_King_Other", Goblin_King_Other); + //commands.put("Goblin_King_Pump", Goblin_King_Pump); + //commands.put("Goblin_King_Other", Goblin_King_Other); commands.put("Field_Marshal_Pump", Field_Marshal_Pump); commands.put("Field_Marshal_Other", Field_Marshal_Other); commands.put("Death_Baron_Pump", Death_Baron_Pump); diff --git a/src/forge/StaticEffects.java b/src/forge/StaticEffects.java index 7f2f1d6b632..276c273a93d 100644 --- a/src/forge/StaticEffects.java +++ b/src/forge/StaticEffects.java @@ -124,7 +124,7 @@ public class StaticEffects cardToEffectsList.put("Veteran Swordsmith", new String[] {"Veteran_Swordsmith_Pump", "Veteran_Swordsmith_Other"}); cardToEffectsList.put("Timber Protector", new String[] {"Timber_Protector_Pump", "Timber_Protector_Other"}); cardToEffectsList.put("Goblin Chieftain", new String[] {"Goblin_Chieftain_Pump", "Goblin_Chieftain_Other"}); - cardToEffectsList.put("Goblin King", new String[] {"Goblin_King_Pump", "Goblin_King_Other"}); + //cardToEffectsList.put("Goblin King", new String[] {"Goblin_King_Pump", "Goblin_King_Other"}); cardToEffectsList.put("Merfolk Sovereign", new String[] {"Merfolk_Sovereign_Pump", "Merfolk_Sovereign_Other"}); //cardToEffectsList.put("Lord of Atlantis", new String[] {"Lord_of_Atlantis_Pump","Lord_of_Atlantis_Other"}); cardToEffectsList.put("Elvish Champion", new String[] {"Elvish_Champion_Pump","Elvish_Champion_Other"});