mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added Harvest Mage (see http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=14167 for existing issue that is more noticeable with Harvest Mage)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5782,6 +5782,7 @@ forge-gui/res/cardsfolder/h/harsh_justice.txt -text
|
||||
forge-gui/res/cardsfolder/h/harsh_mercy.txt -text
|
||||
forge-gui/res/cardsfolder/h/haru_onna.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/h/harvest_gwyllion.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/h/harvest_mage.txt -text
|
||||
forge-gui/res/cardsfolder/h/harvest_pyre.txt -text
|
||||
forge-gui/res/cardsfolder/h/harvest_wurm.txt -text
|
||||
forge-gui/res/cardsfolder/h/harvester_druid.txt svneol=native#text/plain
|
||||
|
||||
@@ -593,7 +593,15 @@ public class AbilityManaPart implements java.io.Serializable {
|
||||
}
|
||||
if (manaReplace.startsWith("Any")) {
|
||||
// Replace any type and amount
|
||||
return manaReplace.split("->")[1];
|
||||
String replaced = manaReplace.split("->")[1];
|
||||
if (replaced.equals("Any")) {
|
||||
byte rs = MagicColor.GREEN;
|
||||
if (act != null) {
|
||||
rs = act.getController().chooseColor("Choose a color", sa, ColorSet.fromMask(MagicColor.ALL_COLORS));
|
||||
}
|
||||
replaced = MagicColor.toShortString(rs);
|
||||
}
|
||||
return replaced;
|
||||
}
|
||||
final Pattern splitter = Pattern.compile("->");
|
||||
// Replace any type
|
||||
|
||||
11
forge-gui/res/cardsfolder/h/harvest_mage.txt
Normal file
11
forge-gui/res/cardsfolder/h/harvest_mage.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Harvest Mage
|
||||
ManaCost:G
|
||||
Types:Creature Human Spellshaper
|
||||
PT:1/1
|
||||
A:AB$ Effect | Cost$ G T Discard<1/Card> | ReplacementEffects$ HarvestReplacement | SVars$ HarvestProduce | References$ HarvestReplacement,HarvestProduce | AILogic$ RedirectSpellDamageFromPlayer | Stackable$ False | SpellDescription$ Until end of turn, if you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount.
|
||||
SVar:HarvestReplacement:Event$ ProduceMana | ActiveZones$ Command | ValidCard$ Land.YouCtrl | ManaReplacement$ HarvestProduce | Description$ If you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount.
|
||||
SVar:HarvestProduce:Any->Any
|
||||
SVar:RemAIDeck:True
|
||||
SVar:NonStackingEffect:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/harvest_mage.jpg
|
||||
Oracle:{G}, {T}, Discard a card: Until end of turn, if you tap a land for mana, it produces one mana of a color of your choice instead of any other type and amount.
|
||||
Reference in New Issue
Block a user