From 52028e0e97866443f4143d5a886837f73b181d10 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 09:01:49 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 5cb37b7f..aa99bb35 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -136,6 +136,7 @@ public class EffectsParser { effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(3).trim()); + // Parameter 4 is always 0. effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(5).trim()); effectModifier.arg1 = modValues.get(6).trim(); case Attr: