From dbefaa7ead1266aad60be07978ec260255ba03c0 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 08:45:42 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index e64109ae..6a2f79b9 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -132,6 +132,11 @@ public class EffectsParser { effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.max = Integer.parseInt(modValues.get(2).trim()); break; + case Attr: + effectModifier.min = Integer.parseInt(modValues.get(1).trim()); + effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); + effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); + effectModifier.arg1 = modValues.get(4).trim(); case BladeTrails: break; case MeleeDamageModifier: