convert Broodwarden to stPumpAll keyword.

This commit is contained in:
jendave
2011-08-06 13:17:56 +00:00
parent 70670f54db
commit 2bf7ebe1f1
3 changed files with 2 additions and 47 deletions

View File

@@ -14228,50 +14228,6 @@ public class GameActionUtil {
};//Plague_Rats
public static Command Broodwarden = new Command() {
private static final long serialVersionUID = -9033688979680507210L;
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(-1);
}
cList.clear();
PlayerZone[] zone = getZone("Broodwarden");
// for each zone found add +1/+1 to each card
for(int outer = 0; outer < zone.length; outer++) {
CardList creature = new CardList(
zone[outer].getCards());
creature = creature.filter(new CardListFilter()
{
public boolean addCard(Card c)
{
return (c.getType().contains("Eldrazi") && c.getType().contains("Spawn") ) || c.getKeyword().contains("Changeling");
}
});
for(int i = 0; i < creature.size(); i++) {
c = creature.get(i);
c.addSemiPermanentAttackBoost(2);
c.addSemiPermanentDefenseBoost(1);
gloriousAnthemList.add(c);
} // for
} // for
}// execute()
}; //Broodwarden
public static Command Covetous_Dragon = new Command() {
private static final long serialVersionUID = -8898010588711890705L;
@@ -16206,7 +16162,6 @@ public class GameActionUtil {
commands.put("Beastbreaker_of_Bala_Ged", Beastbreaker_of_Bala_Ged);
//commands.put("Bloodghast", Bloodghast);
commands.put("Broodwarden", Broodwarden);
//commands.put("Cantivore", Cantivore);
commands.put("Caravan_Escort", Caravan_Escort);

View File

@@ -29,7 +29,6 @@ public class StaticEffects
cardToEffectsList.put("Beastbreaker of Bala Ged", new String[] {"Beastbreaker_of_Bala_Ged"});
//cardToEffectsList.put("Bloodghast", new String[] {"Bloodghast"});
//cardToEffectsList.put("Broodstar", new String[] {"Master_of_Etherium"});
cardToEffectsList.put("Broodwarden", new String[] {"Broodwarden"});
//cardToEffectsList.put("Cantivore", new String[] {"Cantivore"});
cardToEffectsList.put("Caravan Escort", new String[] {"Caravan_Escort"});