PowerActionEntry parsing work.

This commit is contained in:
2024-08-19 21:26:44 -04:00
parent e60a7a5ac0
commit d6272d7310
+3 -1
View File
@@ -61,7 +61,7 @@ public class PowerActionParser {
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim();
String[] lineData = powerActionData.trim().split("\n");
String[] lineData = powerActionData.split("\n");
// Parse effect entry header
@@ -86,6 +86,8 @@ public class PowerActionParser {
effectDescription.level = Integer.parseInt(headerIterator.next());
}
// Process key value pairs after header
return powerActionEntry;
}
}