From 260bc453d1daeafe28e60945dfc4c4d594701a19 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 10:15:04 -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 45eba91f..930d06b2 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -140,6 +140,7 @@ public class EffectsParser { case IgnorePassiveDefense: case Stunned: case CannotMove: + case PowerCostHealth: break; case AnimOverride: effectModifier.min = Float.parseFloat(modValues.get(1).trim()); @@ -185,6 +186,7 @@ public class EffectsParser { case Value: case WeaponSpeed: case MinDamage: + case PowerCost: effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());