v2.5.0: fixed rounding errors in upgrade stats for corrosion wand

This commit is contained in:
Evan Debenham
2024-08-29 14:33:33 -04:00
parent 3643145a8a
commit 1608d36f23

View File

@@ -132,6 +132,6 @@ public class WandOfCorrosion extends Wand {
@Override
public String upgradeStat2(int level) {
return (1+.2f*level) + "x";
return Messages.decimalFormat("#.##x", 1+.2f*level);
}
}