fixed min values for offsets
added damageThresholdType option to allow the use of values for damage thresholds instead of just percent