Browse Source

More effectmod parser work.

feature-config-parsing2
MagicBot 5 months ago
parent
commit
bbac9ce6b9
  1. 2
      src/engine/ConfigParsing/EffectsParser.java

2
src/engine/ConfigParsing/EffectsParser.java

@ -170,6 +170,7 @@ public class EffectsParser {
case HealthFull: case HealthFull:
case ManaFull: case ManaFull:
case StaminaFull: case StaminaFull:
case Slay:
effectModifier.min = Float.parseFloat(modValues.get(1).trim()); effectModifier.min = Float.parseFloat(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.compoundCurveType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());
@ -214,6 +215,7 @@ public class EffectsParser {
case ConstrainedAmbidexterity: case ConstrainedAmbidexterity:
case ProtectionFrom: case ProtectionFrom:
case ExclusiveDamageCap: case ExclusiveDamageCap:
case IgnoreDamageCap:
effectModifier.arg1 = modValues.get(1).trim(); effectModifier.arg1 = modValues.get(1).trim();
break; break;
case WeaponProc: case WeaponProc:

Loading…
Cancel
Save