From 4d862355be8eb138cd05f003785ba839d93d5dfe Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:09:44 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index aa99bb35..e6e989fc 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -133,6 +133,8 @@ public class EffectsParser { effectModifier.max = Integer.parseInt(modValues.get(2).trim()); break; case Health: + case Mana: + case Stamina: effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(3).trim());