From 4e3a578ad1b014575411142e6334c46d4efb225c Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 18:47:44 -0400 Subject: [PATCH] More powerAction work --- src/engine/wpak/PowerActionParser.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 9ba0418a..54c75f6b 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -177,6 +177,27 @@ public class PowerActionParser { trackEntry.min = Integer.parseInt(headerIterator.next()); trackEntry.max = Integer.parseInt(headerIterator.next()); break; + case "NOTRANSFORM": + effectDescription = new EffectDescription(); + effectDescription.type = headerIterator.next(); + effectDescription.effect_id = headerIterator.next(); + break; + case "NOROOT": + case "NOSNARE": + case "NOSTANCE-A": + case "NOSTANCE-B": + case "NOSTUN": + case "NOSTUN1": + case "NOSTUN2": + case "NOSTUN3": + case "NOSTUN4": + case "NOSTUN5": + case "NOSTUN6": + effectDescription = new EffectDescription(); + effectDescription.type = headerIterator.next(); + effectDescription.effect_id = headerIterator.next(); + effectDescription.level = Integer.parseInt(headerIterator.next()); + break; case "Recall": // No arguments for these tags or not parsed case "Teleport": case "TreeChoke":