mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Broodwarden to stPumpAll keyword.
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
Name:Broodwarden
|
Name:Broodwarden
|
||||||
ManaCost:3 G G
|
ManaCost:3 G G
|
||||||
Types:Creature Eldrazi Drone
|
Types:Creature Eldrazi Drone
|
||||||
Text:Eldrazi Spawn creatures you control get +2/+1.
|
Text:no text
|
||||||
PT:4/4
|
PT:4/4
|
||||||
|
K:stPumpAll:Creature.Eldrazi+Spawn+YouCtrl:2/1:No Condition:Eldrazi Spawn creatures you control get +2/+1.
|
||||||
SVar:PlayMain1:TRUE
|
SVar:PlayMain1:TRUE
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/broodwarden.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/broodwarden.jpg
|
||||||
|
|||||||
@@ -14228,50 +14228,6 @@ public class GameActionUtil {
|
|||||||
|
|
||||||
};//Plague_Rats
|
};//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() {
|
public static Command Covetous_Dragon = new Command() {
|
||||||
private static final long serialVersionUID = -8898010588711890705L;
|
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("Beastbreaker_of_Bala_Ged", Beastbreaker_of_Bala_Ged);
|
||||||
//commands.put("Bloodghast", Bloodghast);
|
//commands.put("Bloodghast", Bloodghast);
|
||||||
commands.put("Broodwarden", Broodwarden);
|
|
||||||
|
|
||||||
//commands.put("Cantivore", Cantivore);
|
//commands.put("Cantivore", Cantivore);
|
||||||
commands.put("Caravan_Escort", Caravan_Escort);
|
commands.put("Caravan_Escort", Caravan_Escort);
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ public class StaticEffects
|
|||||||
cardToEffectsList.put("Beastbreaker of Bala Ged", new String[] {"Beastbreaker_of_Bala_Ged"});
|
cardToEffectsList.put("Beastbreaker of Bala Ged", new String[] {"Beastbreaker_of_Bala_Ged"});
|
||||||
//cardToEffectsList.put("Bloodghast", new String[] {"Bloodghast"});
|
//cardToEffectsList.put("Bloodghast", new String[] {"Bloodghast"});
|
||||||
//cardToEffectsList.put("Broodstar", new String[] {"Master_of_Etherium"});
|
//cardToEffectsList.put("Broodstar", new String[] {"Master_of_Etherium"});
|
||||||
cardToEffectsList.put("Broodwarden", new String[] {"Broodwarden"});
|
|
||||||
|
|
||||||
//cardToEffectsList.put("Cantivore", new String[] {"Cantivore"});
|
//cardToEffectsList.put("Cantivore", new String[] {"Cantivore"});
|
||||||
cardToEffectsList.put("Caravan Escort", new String[] {"Caravan_Escort"});
|
cardToEffectsList.put("Caravan Escort", new String[] {"Caravan_Escort"});
|
||||||
|
|||||||
Reference in New Issue
Block a user