|
|
|
@ -19,7 +19,7 @@ import java.util.regex.Pattern;
@@ -19,7 +19,7 @@ import java.util.regex.Pattern;
|
|
|
|
|
|
|
|
|
|
public class PowersParser { |
|
|
|
|
|
|
|
|
|
public static String powersPath = ConfigManager.DEFAULT_DATA_DIR + "wpak/Effects.cfg"; |
|
|
|
|
public static String powersPath = ConfigManager.DEFAULT_DATA_DIR + "wpak/Powers.cfg"; |
|
|
|
|
private static final Pattern POWER_REGEX = Pattern.compile("(?<=POWERBEGIN)(.+?)(?=POWEREND)", Pattern.DOTALL); |
|
|
|
|
private static final Pattern STRSPLIT_REGEX = Pattern.compile("([^\"]\\S*|\"[^\"]*\")\\s*"); |
|
|
|
|
|
|
|
|
|