From a3d3c32b07648e58e4bf39693a09501cb8d75051 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Aug 2024 16:01:31 -0400 Subject: [PATCH] More powerAction work. --- src/engine/wpak/PowersParser.java | 1 + src/engine/wpak/data/PowerEntry.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index d5dfe2c8..e8b51cdc 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -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: diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index 118b52b3..2246a036 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -33,4 +33,5 @@ public class PowerEntry { public int initAmin; public int releaseAnim; public mbEnums.TargetSelectType targetSelect; + public ArrayList actions = new ArrayList<>(); }