From c42d438a7c562a76b02e1bda698642562e728416 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 15:24:17 -0400 Subject: [PATCH] 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 a6a0a9d3..b1432fce 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -85,6 +85,9 @@ public class PowerActionParser { powerActionEntry.effect_id = headerIterator.next(); break; case "CreateMob": + powerActionEntry.arg1 = Integer.parseInt(headerIterator.next()); + powerActionEntry.arg2 = Integer.parseInt(headerIterator.next()); + break; case "DamageOverTime": powerActionEntry.effect_id = headerIterator.next(); powerActionEntry.arg1 = Integer.parseInt(headerIterator.next());