- Added Lovisa Coldeyes.

This commit is contained in:
jendave
2011-08-06 05:56:25 +00:00
parent 557e54ae01
commit 26467207a6
3 changed files with 55 additions and 0 deletions

View File

@@ -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 Dragon Tyrant
8 R R 8 R R
Creature Dragon Creature Dragon

View File

@@ -16018,6 +16018,52 @@ public class GameActionUtil {
}; //Field Marshal Other }; //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() { public static Command Aven_Brigadier_Soldier_Pump = new Command() {
private static final long serialVersionUID = -2052700621466065388L; private static final long serialVersionUID = -2052700621466065388L;
@@ -19704,6 +19750,7 @@ public class GameActionUtil {
commands.put("Goblin_King_Other", Goblin_King_Other); commands.put("Goblin_King_Other", Goblin_King_Other);
commands.put("Field_Marshal_Pump", Field_Marshal_Pump); commands.put("Field_Marshal_Pump", Field_Marshal_Pump);
commands.put("Field_Marshal_Other", Field_Marshal_Other); 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_Soldier_Pump", Aven_Brigadier_Soldier_Pump);
commands.put("Aven_Brigadier_Bird_Pump", Aven_Brigadier_Bird_Pump); commands.put("Aven_Brigadier_Bird_Pump", Aven_Brigadier_Bird_Pump);
commands.put("Aven_Brigadier_Other", Aven_Brigadier_Other); commands.put("Aven_Brigadier_Other", Aven_Brigadier_Other);

View File

@@ -133,6 +133,7 @@ public class StaticEffects
cardToEffectsList.put("Lord of Atlantis", new String[] {"Lord_of_Atlantis_Pump","Lord_of_Atlantis_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"}); 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("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("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("Scion of Oona", new String[] {"Scion_of_Oona_Pump", "Scion_of_Oona_Other"});
cardToEffectsList.put("Covetous Dragon", new String[] {"Covetous_Dragon"}); cardToEffectsList.put("Covetous Dragon", new String[] {"Covetous_Dragon"});