More PowerAction parsing work.

This commit is contained in:
2024-08-20 19:16:11 -04:00
parent eaf9894f99
commit 71c240e347
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -285,6 +285,11 @@ public class PowerActionParser {
case "ROOTFSMID":
powerActionEntry.rootFsmID = mbEnums.MobBehaviourType.valueOf(lineValues[1].trim());
break;
case "SPLASHDAMAGE":
arguments = lineValues[1].trim().split("\\s+");
powerActionEntry.splashDamageMin = Integer.parseInt(arguments[0]);
powerActionEntry.splashDamageMax = Integer.parseInt(arguments[1]);
break;
case "APPLYEFFECTOTHER":
case "APPLYEFFECTSELF":
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
@@ -46,5 +46,8 @@ public class PowerActionEntry {
public boolean destroyOldPet = false;
public mbEnums.ItemFlags itemFlag;
public mbEnums.MobBehaviourType rootFsmID;
public int splashDamageMin;
public int splashDamageMax;
}