mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user