More effectmod parser work.

This commit is contained in:
2024-08-11 12:44:54 -04:00
parent c97a6f555a
commit e729bc9541
2 changed files with 7 additions and 1 deletions
@@ -8,5 +8,7 @@ public class EffectModifier {
public int max; public int max;
public float scale; public float scale;
public mbEnums.CompoundCurveType slopeType; public mbEnums.CompoundCurveType slopeType;
public String target; public String arg1; // ItemName "Masterwork" ""
public String arg2; // ItemName "" "of the Defender"
} }
@@ -136,6 +136,10 @@ public class EffectsParser {
case MeleeDamageModifier: case MeleeDamageModifier:
case OCV: case OCV:
case DCV: case DCV:
case AttackDelay:
case AdjustAboveDmgCap:
case DamageCap:
case ArmorPiercing:
effectModifier.min = Integer.parseInt(modValues.get(1).trim()); effectModifier.min = Integer.parseInt(modValues.get(1).trim());
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); effectModifier.scale = Float.parseFloat(modValues.get(2).trim());
effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim());