From 6ca5e46ef6e46f13c064ab54d642411d6ce19cbf Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 17:14:26 -0400 Subject: [PATCH] More poweraction parsing work. --- src/engine/wpak/PowerActionParser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index a68526e4..344f6914 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -146,6 +146,12 @@ public class PowerActionParser { effectDescription.type = headerIterator.next(); powerActionEntry.effects.add(effectDescription); break; + case "Block": + effectDescription = new EffectDescription(); + effectDescription.effect_id = headerIterator.next(); + effectDescription.level = Integer.parseInt(headerIterator.next()); + powerActionEntry.effects.add(effectDescription); + break; case "Teleport":// No arguments for these tags case "TreeChoke": break;