- Losing will subtract 15 credits in quest mode.

- Fixed Drowned Catacombs and Glacial Fortress bugs.
This commit is contained in:
jendave
2011-08-06 03:45:18 +00:00
parent a96c743c69
commit d8d6fb545a
4 changed files with 17 additions and 4 deletions

View File

@@ -204,12 +204,18 @@ public class CardFactory implements NewConstants {
}
});
}//if "Comes into play tapped."
if (hasKeyword(card, "CARDNAME enters the battlefield tapped unless you control a ") != -1)
if (hasKeyword(card, "CARDNAME enters the battlefield tapped unless you control") != -1)
{
int n = hasKeyword(card, "CARDNAME enters the battlefield tapped unless you control a ");
int n = hasKeyword(card, "CARDNAME enters the battlefield tapped unless you control");
String parse = card.getKeyword().get(n).toString();
final String types[] = parse.substring(60, parse.length() - 1).split(" or a ");
String splitString;
if (parse.contains(" or a "))
splitString = " or a ";
else
splitString = " or an ";
final String types[] = parse.substring(60, parse.length() - 1).split(splitString);
card.addComesIntoPlayCommand(new Command()
{