From 6e47b80d23b4fa1c0325b2ca102ef27b850d257d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Aug 2024 16:09:40 -0400 Subject: [PATCH] More powerAction work. --- src/engine/wpak/PowersParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index e8b51cdc..6fe58495 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -129,8 +129,8 @@ public class PowersParser { powerAction.minTrains = Integer.parseInt(arguments[1]); powerAction.maxTrains = Integer.parseInt(arguments[2]); powerAction.duration = Integer.parseInt(arguments[3]); - powerAction.stackingCategory = arguments[4]; - powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[5]); + powerAction.curve = mbEnums.CompoundCurveType.valueOf(arguments[4]); + powerAction.stackingCategory = arguments[5]; powerAction.stackingPriority = Integer.parseInt(arguments[6]); powerAction.categoryToPower = mbEnums.CategoryToPowerType.valueOf(arguments[7]); powerEntry.actions.add(powerAction);