From 00d6e4f819e5755523c583a7875e26d4d3de4b4a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Aug 2024 14:10:20 -0400 Subject: [PATCH] Enum added for CategoryToPower --- src/engine/mbEnums.java | 8 ++++++++ src/engine/wpak/data/PowerAction.java | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/engine/mbEnums.java b/src/engine/mbEnums.java index 2078b0f1..d6793758 100644 --- a/src/engine/mbEnums.java +++ b/src/engine/mbEnums.java @@ -3069,5 +3069,13 @@ public class mbEnums { NEARBYMOBS, NAME; } + + public enum CategoryToPowerType { + None, + GreaterThanOrEqualTo, + GreaterThan, + Always + } + } diff --git a/src/engine/wpak/data/PowerAction.java b/src/engine/wpak/data/PowerAction.java index b2f4bc33..be547875 100644 --- a/src/engine/wpak/data/PowerAction.java +++ b/src/engine/wpak/data/PowerAction.java @@ -19,6 +19,6 @@ public class PowerAction { public String StackingCategory; public mbEnums.CompoundCurveType curve; public boolean unknown; - public String categoryToPower; + public mbEnums.CategoryToPowerType categoryToPower; }