mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Converted Gauntlet of Might, Overgrowth and Wild Growth to script.
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
Name:Gauntlet of Might
|
Name:Gauntlet of Might
|
||||||
ManaCost:4
|
ManaCost:4
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
Text:Whenever a Mountain is tapped for mana, its controller adds R to his or her mana pool (in addition to the mana the land produces).
|
Text:no text
|
||||||
K:stPumpAll:Creature.Red:1/1:No Condition:Red creatures get +1/+1.
|
K:stPumpAll:Creature.Red:1/1:No Condition:Red creatures get +1/+1.
|
||||||
|
T:Mode$ TapsForMana | ValidCard$ Mountain | Execute$ TrigMana | TriggerDescription$ Whenever a Mountain is tapped for mana, its controller adds R to his or her mana pool (in addition to the mana the land produces).
|
||||||
|
SVar:TrigMana:AB$Mana | Cost$ 0 | Produced$ R | Amount$ 1 | Defined$ TriggeredPlayer
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
Name:Overgrowth
|
Name:Overgrowth
|
||||||
ManaCost:2 G
|
ManaCost:2 G
|
||||||
Types:Enchantment Aura
|
Types:Enchantment Aura
|
||||||
Text:Whenever enchanted land is tapped for mana, its controller adds G G to his or her mana pool (in addition to the mana the land produces).
|
Text:no text
|
||||||
K:Enchant Land
|
K:Enchant Land
|
||||||
|
T:Mode$ TapsForMana | ValidCard$ Card.AttachedBy | Execute$ TrigMana | TriggerDescription$ Whenever enchanted land is tapped for mana, its controller adds G G to his or her mana pool (in addition to the mana the land produces).
|
||||||
|
SVar:TrigMana:AB$Mana | Cost$ 0 | Produced$ G | Amount$ 2 | Defined$ TriggeredCardController
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/overgrowth.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/overgrowth.jpg
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
Name:Wild Growth
|
Name:Wild Growth
|
||||||
ManaCost:G
|
ManaCost:G
|
||||||
Types:Enchantment Aura
|
Types:Enchantment Aura
|
||||||
Text:Whenever enchanted land is tapped for mana, its controller adds G to his or her mana pool (in addition to the mana the land produces).
|
Text:no text
|
||||||
K:Enchant Land
|
K:Enchant Land
|
||||||
|
T:Mode$ TapsForMana | ValidCard$ Card.AttachedBy | Execute$ TrigMana | TriggerDescription$ Whenever enchanted land is tapped for mana, its controller adds G to his or her mana pool (in addition to the mana the land produces).
|
||||||
|
SVar:TrigMana:AB$Mana | Cost$ 0 | Produced$ G | Amount$ 1 | Defined$ TriggeredCardController
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:Rarity:Common
|
SVar:Rarity:Common
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_growth.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_growth.jpg
|
||||||
|
|||||||
@@ -98,27 +98,6 @@ abstract public class Ability_Mana extends Ability_Activated implements java.io.
|
|||||||
AllZone.Stack.addSimultaneousStackEntry(CardFactoryUtil.getForbiddenOrchardAbility(source, getActivatingPlayer().getOpponent()));
|
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())) {
|
if(AllZoneUtil.isCardInPlay("Mirari's Wake", source.getController())) {
|
||||||
CardList list = AllZoneUtil.getPlayerCardsInPlay(source.getController(), "Mirari's Wake");
|
CardList list = AllZoneUtil.getPlayerCardsInPlay(source.getController(), "Mirari's Wake");
|
||||||
ArrayList<String> colors = new ArrayList<String>();
|
ArrayList<String> colors = new ArrayList<String>();
|
||||||
|
|||||||
Reference in New Issue
Block a user