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