From c8f90ea654bb06e3b77e552a0613b8c9694859cb Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 17:40:12 -0400 Subject: [PATCH] More poweraction parsing work. --- src/engine/wpak/PowerActionParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index aaee4e7c..d73f34ea 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -246,6 +246,9 @@ public class PowerActionParser { case "DESTROYOLDPET": powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim()); break; + case "DAMAGETYPE": + powerActionEntry.damageType = mbEnums.DamageType.valueOf(lineValues[1].trim()); + break; case "APPLYEFFECTOTHER": case "APPLYEFFECTSELF": case "WEAROFFEFFECTOTHER": // Keys not parsed go here.