mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Fixed bounceland bug.
This commit is contained in:
@@ -32,7 +32,7 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
|
||||
|
||||
private static boolean isTapAbility(String orig) {
|
||||
String cost = orig.split(":")[0];
|
||||
cost = cost.replaceAll("tap", "T");
|
||||
cost = cost.replaceAll("Tap", "tap").replaceAll("tap", "T");
|
||||
return (cost.contains("T"));
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ abstract public class Ability_Mana extends SpellAbility implements java.io.Seria
|
||||
Mana = Mana.replaceAll(" ", "");
|
||||
|
||||
String cost = parts[0];
|
||||
cost = cost.replaceAll("tap", "T");
|
||||
cost = cost.replaceAll("Tap", "tap").replaceAll("tap", "T");
|
||||
//cost = cost.replaceAll("T, ", "");
|
||||
setManaCost(cost.replaceAll("T", "").split(",")[0]);
|
||||
if(getManaCost().equals("")) setManaCost("0");
|
||||
|
||||
@@ -16795,7 +16795,7 @@ public class CardFactory implements NewConstants {
|
||||
card.addSpellAbility(spell);
|
||||
}
|
||||
//*************** END ************ END **************************
|
||||
|
||||
|
||||
// Cards with Cycling abilities
|
||||
// -1 means keyword "Cycling" not found
|
||||
if(hasKeyword(card, "Cycling") != -1) {
|
||||
|
||||
Reference in New Issue
Block a user