PowerAction parsing work.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user