From 03523ffd17df21fe7f2decc09b977042a815c8f8 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 13:13:57 +0000 Subject: [PATCH] convert Gaea's Avenger to stSetPT --- res/cardsfolder/gaeas_avenger.txt | 3 ++- src/forge/GameActionUtil.java | 6 +++--- src/forge/StaticEffects.java | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/res/cardsfolder/gaeas_avenger.txt b/res/cardsfolder/gaeas_avenger.txt index 57c54e8c2ac..06a14efac4a 100644 --- a/res/cardsfolder/gaeas_avenger.txt +++ b/res/cardsfolder/gaeas_avenger.txt @@ -2,7 +2,8 @@ Name:Gaea's Avenger ManaCost:1 G G Types:Creature Treefolk Text:Gaea's Avenger's power and toughness are each equal to 1 plus the number of artifacts your opponents control. -PT:1/1 +PT:1+*/1+* +K:stSetPT:Count$NumTypeOppCtrl.Artifact/Plus.1:Count$NumTypeOppCtrl.Artifact/Plus.1:CARDNAME's power and toughness are each equal to 1 plus the number of artifacts your opponents control. SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/gaeas_avenger.jpg SetInfo:ATQ|Rare|http://magiccards.info/scans/en/aq/63.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 5db4e2ce8e9..c48c4be4272 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -13915,7 +13915,7 @@ public class GameActionUtil { return opp.getLife() <= 10; } }; - + /* public static Command Gaeas_Avenger = new Command() { private static final long serialVersionUID = 1987511098173387864L; @@ -13937,7 +13937,7 @@ public class GameActionUtil { return artifacts.size(); } }; - + */ /* public static Command People_of_the_Woods = new Command() { private static final long serialVersionUID = 1987554325573387864L; @@ -16283,7 +16283,7 @@ public class GameActionUtil { //commands.put("Faerie_Swarm", Faerie_Swarm); commands.put("Gaddock_Teeg", Gaddock_Teeg); - commands.put("Gaeas_Avenger", Gaeas_Avenger); + //commands.put("Gaeas_Avenger", Gaeas_Avenger); commands.put("Gemhide_Sliver", Gemhide_Sliver); commands.put("Goblin_Assault", Goblin_Assault); commands.put("Goblin_Gaveleer", Goblin_Gaveleer); diff --git a/src/forge/StaticEffects.java b/src/forge/StaticEffects.java index 35bdbc75530..5c8277e46b8 100644 --- a/src/forge/StaticEffects.java +++ b/src/forge/StaticEffects.java @@ -51,7 +51,7 @@ public class StaticEffects //cardToEffectsList.put("Faerie Swarm", new String[] {"Faerie_Swarm"}); cardToEffectsList.put("Gaddock Teeg", new String[] {"Gaddock_Teeg"}); - cardToEffectsList.put("Gaea's Avenger", new String[] {"Gaeas_Avenger"}); + //cardToEffectsList.put("Gaea's Avenger", new String[] {"Gaeas_Avenger"}); cardToEffectsList.put("Gemhide Sliver", new String[] {"Gemhide_Sliver"}); cardToEffectsList.put("Goblin Assault", new String[] {"Goblin_Assault"}); cardToEffectsList.put("Goblin Gaveleer", new String[] {"Goblin_Gaveleer"});