More PowerEntry parsing work.

This commit is contained in:
2024-08-19 08:08:32 -04:00
parent 4f25e7e24f
commit 12f8139d1e
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -255,6 +255,12 @@ public class PowersParser {
powerEntry.pulseCycle = Integer.parseInt(arguments[0]);
powerEntry.pulseDuration = Integer.parseInt(arguments[1]);
break;
case "MAXNUMMOBTARGETS":
powerEntry.maxMobTargets = Integer.parseInt(lineValues[1].trim());
break;
case "MAXNUMPLAYERTARGETS":
powerEntry.maxPlayerTargets = Integer.parseInt(lineValues[1].trim());
break;
default:
Logger.error("Unhandled variable type:" + key + " for power: " + powerEntry.power_id);
}
+3
View File
@@ -56,5 +56,8 @@ public class PowerEntry {
public boolean sticky = false;
public int pulseCycle;
public int pulseDuration;
public int maxMobTargets;
public int maxPlayerTargets;
}