Browse Source

More powerAction work.

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

1
src/engine/wpak/PowersParser.java

@ -133,6 +133,7 @@ public class PowersParser { @@ -133,6 +133,7 @@ public class PowersParser {
powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[5]);
powerAction.stackingPriority = Integer.parseInt(arguments[6]);
powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]);
powerEntry.actions.add(powerAction);
break;
default:

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

@ -33,4 +33,5 @@ public class PowerEntry { @@ -33,4 +33,5 @@ public class PowerEntry {
public int initAmin;
public int releaseAnim;
public mbEnums.TargetSelectType targetSelect;
public ArrayList<PowerAction> actions = new ArrayList<>();
}

Loading…
Cancel
Save