From 79f7458010290dd162ae376de187f4996bc6a36b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 17:41:43 -0400 Subject: [PATCH] More poweraction parsing work. --- src/engine/wpak/PowerActionParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index d73f34ea..f18f8869 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -247,7 +247,7 @@ public class PowerActionParser { powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim()); break; case "DAMAGETYPE": - powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim()); + powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim().toUpperCase()); break; case "APPLYEFFECTOTHER": case "APPLYEFFECTSELF":