v2.0.1: fixed text display errors in flail's spin buff

This commit is contained in:
Evan Debenham
2023-03-26 11:21:28 -04:00
committed by Evan Debenham
parent e716f51b12
commit fc54b62b6b

View File

@@ -160,7 +160,7 @@ public class Flail extends MeleeWeapon {
@Override
public String desc() {
return Messages.get(this, "desc", (spins/3f)*100f, dispTurns());
return Messages.get(this, "desc", (int)Math.round((spins/3f)*100f), dispTurns());
}
public static String SPINS = "spins";