Bunch more moves, changes in how additional information for items works.
This commit is contained in:
@@ -55,4 +55,10 @@ public static class NumericHelpers
|
||||
var result = (ulong)value * multiplier;
|
||||
return result > uint.MaxValue ? uint.MaxValue : (uint)result;
|
||||
}
|
||||
|
||||
public static uint MultiplyOrMax(this uint value, float multiplier)
|
||||
{
|
||||
var result = value * multiplier;
|
||||
return result > uint.MaxValue ? uint.MaxValue : (uint)result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user