diff --git a/src/engine/wpak/PowerActionParser.java b/src/engine/wpak/PowerActionParser.java index e704d0c4..aaee4e7c 100644 --- a/src/engine/wpak/PowerActionParser.java +++ b/src/engine/wpak/PowerActionParser.java @@ -155,6 +155,9 @@ public class PowerActionParser { case "Resurrect": powerActionEntry.levelCap = Integer.parseInt(headerIterator.next()); break; + case "SetItemFlag": + powerActionEntry.itemFlag = mbEnums.ItemFlags.valueOf(headerIterator.next()); + break; case "Recall": // No arguments for these tags or not parsed case "Teleport": case "TreeChoke": diff --git a/src/engine/wpak/data/PowerActionEntry.java b/src/engine/wpak/data/PowerActionEntry.java index 9181306d..fb684fcb 100644 --- a/src/engine/wpak/data/PowerActionEntry.java +++ b/src/engine/wpak/data/PowerActionEntry.java @@ -43,5 +43,6 @@ public class PowerActionEntry { public boolean clearAggro = false; public boolean targetBecomesPet = false; public boolean destroyOldPet = false; + public mbEnums.ItemFlags itemFlag; }