diff --git a/res/cardsfolder/gemhide_sliver.txt b/res/cardsfolder/gemhide_sliver.txt index 46991038f15..025218201f8 100644 --- a/res/cardsfolder/gemhide_sliver.txt +++ b/res/cardsfolder/gemhide_sliver.txt @@ -1,8 +1,14 @@ Name:Gemhide Sliver ManaCost:1 G Types:Creature Sliver -Text:All Slivers have "tap: Add one mana of any color to your mana pool." +Text:no text PT:1/1 +K:stPumpAll:Sliver:0/0/SVar=WMana & SVar=UMana & SVar=BMana & SVar=RMana & SVar=GMana & :no Condition:All Slivers have "Tap: Add one mana of any color to your mana pool." +SVar:WMana:AB$Mana | Cost$ T | Produced$ W | Amount$ 1 | SpellDescription$ Add W to your mana pool. +SVar:UMana:AB$Mana | Cost$ T | Produced$ U | Amount$ 1 | SpellDescription$ Add U to your mana pool. +SVar:BMana:AB$Mana | Cost$ T | Produced$ B | Amount$ 1 | SpellDescription$ Add B to your mana pool. +SVar:RMana:AB$Mana | Cost$ T | Produced$ R | Amount$ 1 | SpellDescription$ Add R to your mana pool. +SVar:GMana:AB$Mana | Cost$ T | Produced$ G | Amount$ 1 | SpellDescription$ Add G to your mana pool. SVar:PlayMain1:TRUE SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/gemhide_sliver.jpg diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 09ba17f1cd9..3ab4b6f1094 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -5667,126 +5667,6 @@ public class GameActionUtil { }// for outer }// execute() }; // Mul Daya - - - //moved to Card.addExtrinsicAbilities - /* - public static Command Joiner_Adept = new Command() { - private static final long serialVersionUID = -2543659953307485051L; - - CardList gloriousAnthemList = new CardList(); - - String[] keyword = { "B", "W", "G", "U", "R" }; - - final void addMana(Card c) { - for(int i = 0; i < keyword.length; i++) { - //don't add an extrinsic mana ability if the land can already has the same intrinsic mana ability - //eg. "tap: add G" - if(!c.getIntrinsicManaAbilitiesDescriptions().contains( - keyword[i])) { - //c.addExtrinsicKeyword(keyword[i]); - SpellAbility mana = new Ability_Mana(c, "T", keyword[i]) { - private static final long serialVersionUID = 2384540533244132975L; - }; - StringBuilder sb = new StringBuilder(); - sb.append("T: Add ").append(keyword[i]).append(" to your mana pool."); - - mana.setType("Extrinsic"); - mana.setDescription(sb.toString()); - c.addSpellAbility(mana); - } - } - } - - final void removeMana(Card c) { - c.removeAllExtrinsicManaAbilities(); - } - - public void execute() { - CardList list = gloriousAnthemList; - Card c; - // reset all cards in list - aka "old" cards - for(int i = 0; i < list.size(); i++) { - c = list.get(i); - removeMana(c); - } - - // add +1/+1 to cards - list.clear(); - PlayerZone[] zone = getZone("Joiner Adept"); - - // for each zone found add +1/+1 to each card - for(int outer = 0; outer < zone.length && outer < 1; outer++) // 1 - // is - // a - // cheat - { - CardList creature = new CardList(zone[outer].getCards()); - creature = creature.getType("Land"); - - for(int i = 0; i < creature.size(); i++) { - c = creature.get(i); - addMana(c); - - gloriousAnthemList.add(c); - }// for inner - }// for outer - }// execute() - }; // Muscles_Sliver - */ - - public static Command Gemhide_Sliver = new Command() { - private static final long serialVersionUID = -2941784982910968772L; - - CardList gloriousAnthemList = new CardList(); - - String[] keyword = { "B", "W", "G", "U", "R" }; - - final void addMana(Card c) { - - for(int i = 0; i < keyword.length; i++) { - if(!c.getIntrinsicManaAbilitiesDescriptions().contains( - keyword[i])) { - //c.addExtrinsicKeyword(keyword[i]); - SpellAbility mana = new Ability_Mana(c, "T", keyword[i]) { - private static final long serialVersionUID = -8909660504657778172L; - }; - StringBuilder sb = new StringBuilder(); - sb.append("T: Add ").append(keyword[i]).append(" to your mana pool."); - - mana.setType("Extrinsic"); - mana.setDescription(sb.toString()); - c.addSpellAbility(mana); - } - } - } - - final void removeMana(Card c) { - c.removeAllExtrinsicManaAbilities(); - } - - public void execute() { - CardList list = gloriousAnthemList; - Card c; - // reset all cards in list - aka "old" cards - for(int i = 0; i < list.size(); i++) { - c = list.get(i); - removeMana(c); - } - - // add +1/+1 to cards - list.clear(); - - CardList creature = AllZoneUtil.getTypeInPlay("Sliver"); - - for(int i = 0; i < creature.size(); i++) { - c = creature.get(i); - addMana(c); - - gloriousAnthemList.add(c); - }// for inner - }// execute() - }; // Gemhide_Sliver public static Command Elspeth_Emblem = new Command() { @@ -7639,7 +7519,7 @@ public class GameActionUtil { commands.put("Elspeth_Emblem", Elspeth_Emblem); commands.put("Gaddock_Teeg", Gaddock_Teeg); - commands.put("Gemhide_Sliver", Gemhide_Sliver); + //commands.put("Gemhide_Sliver", Gemhide_Sliver); commands.put("Homarid", Homarid); commands.put("Iona_Shield_of_Emeria", Iona_Shield_of_Emeria); diff --git a/src/forge/StaticEffects.java b/src/forge/StaticEffects.java index 30f381785df..b0c9b391fee 100644 --- a/src/forge/StaticEffects.java +++ b/src/forge/StaticEffects.java @@ -27,7 +27,7 @@ public class StaticEffects cardToEffectsList.put("Coat of Arms", new String[] {"Coat_of_Arms"}); cardToEffectsList.put("Conspiracy", new String[] {"Conspiracy"}); cardToEffectsList.put("Gaddock Teeg", new String[] {"Gaddock_Teeg"}); - cardToEffectsList.put("Gemhide Sliver", new String[] {"Gemhide_Sliver"}); + //cardToEffectsList.put("Gemhide Sliver", new String[] {"Gemhide_Sliver"}); cardToEffectsList.put("Homarid", new String[] {"Homarid"}); cardToEffectsList.put("Iona, Shield of Emeria", new String[] {"Iona_Shield_of_Emeria"});