PowerAction parsing work.

This commit is contained in:
2024-08-20 15:27:06 -04:00
parent c42d438a7c
commit fa28129aa4
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -164,6 +164,9 @@ public class PowerActionParser {
for (String bodyPart : arguments)
powerActionEntry.attackAnimations.add(Integer.parseInt(bodyPart));
break;
case "REMOVEALL":
powerActionEntry.removeAll = Boolean.parseBoolean(lineValues[1].trim());
break;
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
case "WEAROFFEFFECTSELF":
break;
+2 -1
View File
@@ -33,7 +33,8 @@ public class PowerActionEntry {
public mbEnums.DamageType damageType;
public boolean applyEffectBlank = false;
public boolean wearOffEffectBlank = false;
public int arg1;
public int arg1; // used in DamageOverTime, CreateMob, etc.
public int arg2;
public boolean removeAll;
}