diff --git a/res/cards.txt b/res/cards.txt index 28f3b9b8582..87355280fdb 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,10 @@ +Lovisa Coldeyes +3 R R +Legendary Creature Human Barbarian +Warrior, Berserker, and/or other Barbarian creatures get +2/+2 and have haste. +3/3 +SVar:PlayMain1:TRUE + Dragon Tyrant 8 R R Creature Dragon diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 00aa912848b..012ad968b25 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -16018,6 +16018,52 @@ public class GameActionUtil { }; //Field Marshal Other + public static Command Lovisa_Coldeyes_Pump = new Command() { + + CardList gloriousAnthemList = new CardList(); + + public void execute() { + + CardList cList = gloriousAnthemList; + Card c; + + for(int i = 0; i < cList.size(); i++) { + c = cList.get(i); + c.addSemiPermanentAttackBoost(-2); + c.addSemiPermanentDefenseBoost(-2); + c.removeExtrinsicKeyword("Haste"); + } + cList.clear(); + PlayerZone[] zone = getZone("Lovisa Coldeyes"); + + // for each zone found add +1/+1 to each card + for(int outer = 0; outer < zone.length; outer++) { + CardList creature = new CardList(); + creature.addAll(AllZone.Human_Play.getCards()); + creature.addAll(AllZone.Computer_Play.getCards()); + creature = creature.filter(new CardListFilter() + { + public boolean addCard(Card crd) + { + return crd.isCreature() && ( (crd.getType().contains("Barbarian") && !crd.getName().equals("Lovisa Coldeyes")) + || crd.getType().contains("Berserker") || crd.getType().contains("Warrior")); + } + }); + + for(int i = 0; i < creature.size(); i++) { + c = creature.get(i); + c.addSemiPermanentAttackBoost(2); + c.addSemiPermanentDefenseBoost(2); + c.addExtrinsicKeyword("Haste"); + gloriousAnthemList.add(c); + + } // for + } // for + + }// execute() + + }; //Aven Brigadier Soldier Pump + public static Command Aven_Brigadier_Soldier_Pump = new Command() { private static final long serialVersionUID = -2052700621466065388L; @@ -19704,6 +19750,7 @@ public class GameActionUtil { 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("Lovisa_Coldeyes_Pump", Lovisa_Coldeyes_Pump); commands.put("Aven_Brigadier_Soldier_Pump", Aven_Brigadier_Soldier_Pump); commands.put("Aven_Brigadier_Bird_Pump", Aven_Brigadier_Bird_Pump); commands.put("Aven_Brigadier_Other", Aven_Brigadier_Other); diff --git a/src/forge/StaticEffects.java b/src/forge/StaticEffects.java index 2614bd9b9be..f230c4c4b8e 100644 --- a/src/forge/StaticEffects.java +++ b/src/forge/StaticEffects.java @@ -133,6 +133,7 @@ public class StaticEffects 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"}); cardToEffectsList.put("Field Marshal", new String[] {"Field_Marshal_Pump", "Field_Marshal_Other"}); + cardToEffectsList.put("Lovisa Coldeyes", new String[] {"Lovisa_Coldeyes_Pump"}); cardToEffectsList.put("Aven Brigadier", new String[] {"Aven_Brigadier_Soldier_Pump", "Aven_Brigadier_Bird_Pump", "Aven_Brigadier_Other"}); cardToEffectsList.put("Scion of Oona", new String[] {"Scion_of_Oona_Pump", "Scion_of_Oona_Other"}); cardToEffectsList.put("Covetous Dragon", new String[] {"Covetous_Dragon"});