From edfc73aed5002dfe5cc38c1847b2caa30a6f591e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 5 Jul 2021 18:42:04 -0400 Subject: [PATCH] v0.9.4: fixed slightly incorrect numbers in lotus description --- .../shatteredpixeldungeon/items/wands/WandOfRegrowth.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java index 3bab3c718..08c9c79df 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfRegrowth.java @@ -457,7 +457,8 @@ public class WandOfRegrowth extends Wand { @Override public String description() { - return Messages.get(this, "desc", wandLvl, (int)(seedPreservation()*100), (int)(seedPreservation()*100) ); + int preservation = Math.round(seedPreservation()*100); + return Messages.get(this, "desc", wandLvl, preservation, preservation); } private static final String WAND_LVL = "wand_lvl";