v2.5.0: fixed rounding errors in upgrade stats for corrosion wand
This commit is contained in:
@@ -132,6 +132,6 @@ public class WandOfCorrosion extends Wand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String upgradeStat2(int level) {
|
public String upgradeStat2(int level) {
|
||||||
return (1+.2f*level) + "x";
|
return Messages.decimalFormat("#.##x", 1+.2f*level);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user