diff --git a/src/engine/ConfigParsing/EffectsParser.java b/src/engine/ConfigParsing/EffectsParser.java index 32bdc62e..9f59b5d8 100644 --- a/src/engine/ConfigParsing/EffectsParser.java +++ b/src/engine/ConfigParsing/EffectsParser.java @@ -179,6 +179,7 @@ public class EffectsParser { case PassiveDefense: case MaxDamage: case Value: + case WeaponSpeed: 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()); @@ -194,6 +195,11 @@ public class EffectsParser { case ConstrainedAmbidexterity: effectModifier.arg1 = modValues.get(1).trim(); break; + case WeaponProc: + effectModifier.min = Float.parseFloat(modValues.get(1).trim()); + effectModifier.arg1 = modValues.get(2).trim(); + effectModifier.scale = Float.parseFloat(modValues.get(3).trim()); + break; default: Logger.error("Unhandled type: " + effectModifier.type); break;