More PowerEntry parsing work.

This commit is contained in:
2024-08-19 08:23:17 -04:00
parent 1b2c073886
commit b1f14c4beb
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -210,6 +210,9 @@ public class PowersParser {
case "CANCASTWHILEMOVING": case "CANCASTWHILEMOVING":
powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim()); powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim());
break; break;
case "CANCASTWHILEFLYING":
powerEntry.canCastWhileFlying = Boolean.parseBoolean(lineValues[1].trim());
break;
case "BLADETRAILS": case "BLADETRAILS":
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim()); powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim());
break; break;
+1
View File
@@ -62,5 +62,6 @@ public class PowerEntry {
public boolean isAdminPower = false; public boolean isAdminPower = false;
public int casterPulseParticle; public int casterPulseParticle;
public ArrayList<EffectPreReq> targetEffectPrereqs = new ArrayList<>(); public ArrayList<EffectPreReq> targetEffectPrereqs = new ArrayList<>();
public boolean canCastWhileFlying = false;
} }