More effectmod parser work.
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user