|
|
@ -136,6 +136,12 @@ public class EffectsParser { |
|
|
|
case MeleeDamageModifier: |
|
|
|
case MeleeDamageModifier: |
|
|
|
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()); |
|
|
|
|
|
|
|
case OCV: |
|
|
|
|
|
|
|
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); |
|
|
|
|
|
|
|
effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); |
|
|
|
|
|
|
|
case DCV: |
|
|
|
|
|
|
|
effectModifier.scale = Float.parseFloat(modValues.get(2).trim()); |
|
|
|
|
|
|
|
effectModifier.slopeType = mbEnums.CompoundCurveType.valueOf(modValues.get(3).trim()); |
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled type: " + effectModifier.type); |
|
|
|
Logger.error("Unhandled type: " + effectModifier.type); |
|
|
|
break; |
|
|
|
break; |
|
|
|