Browse Source

More PowerEntry work.

feature-config-parsing2
MagicBot 3 months ago
parent
commit
c6647a99b8
  1. 3
      src/engine/wpak/PowersParser.java
  2. 1
      src/engine/wpak/data/PowerEntry.java

3
src/engine/wpak/PowersParser.java

@ -192,6 +192,9 @@ public class PowersParser { @@ -192,6 +192,9 @@ public class PowersParser {
case "CANCASTWHILEMOVING":
powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim());
break;
case "BLADETRAILS":
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim());
break;
case "SOUNDS": // Values not parsed
case "APPLYEFFECTOTHER":
case "FIZZLEOTHER":

1
src/engine/wpak/data/PowerEntry.java

@ -47,4 +47,5 @@ public class PowerEntry { @@ -47,4 +47,5 @@ public class PowerEntry {
public mbEnums.CompoundCurveType curve;
public String category;
public boolean canCastWhileMoving = false;
public boolean bladeTrails = false;
}

Loading…
Cancel
Save