From 56686944af82c17f2942fcb492290caf989bc5a5 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 12 Aug 2024 10:03:55 -0400 Subject: [PATCH] More effectmod parser work. --- src/engine/ConfigParsing/EffectsParser.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 9f59b5d8..ec35347c 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -131,6 +131,12 @@ public class EffectsParser { effectModifier.type = mbEnums.ModType.valueOf(modValues.get(0).trim()); switch (effectModifier.type) { + case BladeTrails: // No parm modifiers + case CannotCast: + case ImmuneToAttack: + case ImmuneToPowers: + case Ambidexterity: + break; case AnimOverride: effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.max = Float.parseFloat(modValues.get(2).trim()); @@ -160,12 +166,6 @@ public class EffectsParser { effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.arg1 = modValues.get(4).trim(); break; - case BladeTrails: - case CannotCast: - case ImmuneToAttack: - case ImmuneToPowers: - case Ambidexterity: - break; case MeleeDamageModifier: case OCV: case DCV: