Fixed bounceland bug.

This commit is contained in:
jendave
2011-08-06 03:32:18 +00:00
parent a6cff5bb36
commit 94fa100a47
2 changed files with 3 additions and 3 deletions

View File

@@ -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");

View File

@@ -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) {