From 1c6be6a1ea197d9ffe789b43dc4bffd1c862b824 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 20 Aug 2024 16:54:47 -0400 Subject: [PATCH] More poweraction parsing work. --- src/engine/wpak/PowerActionParser.java | 2 +- src/engine/wpak/data/StatTransfer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index 3e511829..646f7f2f 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -136,7 +136,7 @@ public class PowerActionParser { statTransfer.fromStatBool = Boolean.parseBoolean(headerIterator.next()); statTransfer.toStatBool = Boolean.parseBoolean(headerIterator.next()); statTransfer.transfer_action = headerIterator.next(); - statTransfer.tranfer_ticks = Integer.parseInt(headerIterator.next()); + statTransfer.transfer_ticks = Integer.parseInt(headerIterator.next()); powerActionEntry.statTransfer = statTransfer; break; case "Charm": diff --git a/src/engine/wpak/data/StatTransfer.java b/src/engine/wpak/data/StatTransfer.java index 7eff9762..88eeb65b 100644 --- a/src/engine/wpak/data/StatTransfer.java +++ b/src/engine/wpak/data/StatTransfer.java @@ -20,5 +20,5 @@ public class StatTransfer { public boolean fromStatBool; public boolean toStatBool; public String transfer_action; - public int tranfer_ticks; + public int transfer_ticks; }