mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
add Wild Growth (from original base Alpha)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -4874,6 +4874,7 @@ res/cardsfolder/wild_cantor.txt -text svneol=native#text/plain
|
|||||||
res/cardsfolder/wild_colos.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_colos.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/wild_elephant.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_elephant.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/wild_griffin.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_griffin.txt -text svneol=native#text/plain
|
||||||
|
res/cardsfolder/wild_growth.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/wild_jhovall.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_jhovall.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/wild_leotau.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_leotau.txt -text svneol=native#text/plain
|
||||||
res/cardsfolder/wild_mongrel.txt -text svneol=native#text/plain
|
res/cardsfolder/wild_mongrel.txt -text svneol=native#text/plain
|
||||||
|
|||||||
9
res/cardsfolder/wild_growth.txt
Normal file
9
res/cardsfolder/wild_growth.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Name:Wild Growth
|
||||||
|
ManaCost:G
|
||||||
|
Types:Enchantment Aura
|
||||||
|
Text:Whenever enchanted land is tapped for mana, its controller adds Green to his or her mana pool (in addition to the mana the land produces).
|
||||||
|
K:Enchant Land
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:Rarity:Common
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_growth.jpg
|
||||||
|
End
|
||||||
@@ -303,6 +303,17 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
|
|||||||
sourceCard.addExtrinsicKeyword("An opponent gains control of CARDNAME at the beginning of the next end step.");
|
sourceCard.addExtrinsicKeyword("An opponent gains control of CARDNAME at the beginning of the next end step.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(sourceCard.isLand() && sourceCard.isEnchantedBy("Wild Growth")) {
|
||||||
|
if(sourceCard.getController().equals(AllZone.HumanPlayer)) {
|
||||||
|
AllZone.ManaPool.addExtrinsicKeyword("ManaPool:G");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
//only works for human since compy doesn't have the concept of
|
||||||
|
//a mana pool. Also, that code would currently go in ComputerUtil.payManaCost
|
||||||
|
//(like the code for Manabarbs)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(!runcommands.isEmpty()) for(Command c:runcommands)
|
if(!runcommands.isEmpty()) for(Command c:runcommands)
|
||||||
c.execute();
|
c.execute();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user