From 3e4e13a8ae72c8e22f543639a24ea46f7c0c22b0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:00:59 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 8da321c2..5cb37b7f 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -132,6 +132,12 @@ public class EffectsParser { effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim()); break; + case Health: + effectModifier.min = Integer.parseInt(modValues.get(1).trim()); + effectModifier.max = Integer.parseInt(modValues.get(2).trim()); + effectModifier.scale = Float.parseFloat(modValues.get(3).trim()); + effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(5).trim()); + effectModifier.arg1 = modValues.get(6).trim(); case Attr: case Resistance: case Skill: