From c6647a99b830cc76ec15455a0e0474f719760583 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 06:04:01 -0400 Subject: [PATCH] More PowerEntry work. --- src/engine/wpak/PowersParser.java | 3 +++ src/engine/wpak/data/PowerEntry.java | 1 + 2 files changed, 4 insertions(+) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index b4703547..d6f0f432 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -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": diff --git a/src/engine/wpak/data/PowerEntry.java b/src/engine/wpak/data/PowerEntry.java index 8e6cf865..b4dd483b 100644 --- a/src/engine/wpak/data/PowerEntry.java +++ b/src/engine/wpak/data/PowerEntry.java @@ -47,4 +47,5 @@ public class PowerEntry { public mbEnums.CompoundCurveType curve; public String category; public boolean canCastWhileMoving = false; + public boolean bladeTrails = false; }