diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 6f563fda..4d92c691 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -10,10 +10,7 @@ package engine.wpak; import engine.gameManager.ConfigManager; import engine.mbEnums; -import engine.wpak.data.EquipmentPreReq; -import engine.wpak.data.PowerAction; -import engine.wpak.data.PowerData; -import engine.wpak.data.PowerEntry; +import engine.wpak.data.*; import org.pmw.tinylog.Logger; import java.io.IOException; @@ -216,6 +213,13 @@ public class PowersParser { case "BLADETRAILS": powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim()); break; + case "EFFECTPREREQ": + EffectPreReq effectPreReq = new EffectPreReq(); + arguments = lineValues[1].trim().split("\\s+"); + effectPreReq.effect_id = arguments[9]; + effectPreReq.level = Integer.parseInt(arguments[1]); + effectPreReq.message = arguments[2]; + break; case "SOUNDS": // Values not parsed case "APPLYDAMAGECASTER": case "APPLYDAMAGEOTHER":