- Converted Gauntlet of Might, Overgrowth and Wild Growth to script.

This commit is contained in:
jendave
2011-08-07 01:29:32 +00:00
parent e2f7a3cfb9
commit 385f90da2c
4 changed files with 9 additions and 24 deletions

View File

@@ -98,27 +98,6 @@ abstract public class Ability_Mana extends Ability_Activated implements java.io.
AllZone.Stack.addSimultaneousStackEntry(CardFactoryUtil.getForbiddenOrchardAbility(source, getActivatingPlayer().getOpponent()));
}
if (source.isType("Mountain")
&& AllZoneUtil.isCardInPlay("Gauntlet of Might")) {
CardList list = AllZoneUtil.getCardsInPlay("Gauntlet of Might");
for (int i = 0; i < list.size(); i++) {
manaPool.addManaToFloating("R", list.get(i));
}
}
ArrayList<Card> auras = source.getEnchantedBy();
for(Card c : auras){
if (c.getName().equals("Wild Growth")){
this.undoable = false;
manaPool.addManaToFloating("G", c);
}
if (c.getName().equals("Overgrowth")){
this.undoable = false;
manaPool.addManaToFloating("G", c);
manaPool.addManaToFloating("G", c);
}
}
if(AllZoneUtil.isCardInPlay("Mirari's Wake", source.getController())) {
CardList list = AllZoneUtil.getPlayerCardsInPlay(source.getController(), "Mirari's Wake");
ArrayList<String> colors = new ArrayList<String>();