public static DamageData Scale(DamageData value, Single factor) { Scale(ref value, factor, out value); return(value); }
public static void Scale(ref DamageData value, Single factor, out DamageData result) { result = new DamageData(value.Type, (Int32)(value.Minimum * factor + 0.5f), (Int32)(value.Maximum * factor + 0.5f)); }
public static DamageData Add(DamageData left, DamageData right) { Add(ref left, ref right, out left); return(left); }