Avaritia icon indicating copy to clipboard operation
Avaritia copied to clipboard

[1.7.10]Multiplier for balance should be a double not int

Open tytannial opened this issue 7 years ago • 0 comments

modifier = Math.max(modifier + Config.modifier, 0); multiplier = Math.max(multiplier + Config.multiplier, 0);

cost = (base + modifier) * multiplier; Negative multiplier is bug in those code. Min cost should be 1 not 0, there need a check for it. Integer multiplier seems useless in reducing materials by percentage.

tytannial avatar Feb 26 '17 14:02 tytannial