- Added Eldrazi Conscription (and fixed the regex to look at more than one digit for P/T in CardFactory_Auras).

This commit is contained in:
jendave
2011-08-06 04:10:13 +00:00
parent c24fba980d
commit 1276c14ff3
2 changed files with 13 additions and 1 deletions

View File

@@ -5681,7 +5681,7 @@ class CardFactory_Auras {
for (int i = 0; i < 2; i ++)
{
if (ptk[i].matches("[\\+\\-][0-9]")) ptk[i] =ptk[i].replace("+", "");
if (ptk[i].matches("[\\+\\-][0-9]+")) ptk[i] =ptk[i].replace("+", "");
}
Power = Integer.parseInt(ptk[0].trim());
Tough = Integer.parseInt(ptk[1].trim());