From b6630362a71eaa4501872b9c5be4e3777792080e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 5 Jan 2022 16:32:44 -0500 Subject: [PATCH] v1.1.2: charge display on rose no longer includes partial ghost HP --- .../shatteredpixeldungeon/items/artifacts/DriedRose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java index 43fcb385c..100c56750 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java @@ -264,7 +264,7 @@ public class DriedRose extends Artifact { if (ghost == null){ return super.status(); } else { - return (int)((ghost.HP+partialCharge)*100) / ghost.HT + "%"; + return ((ghost.HP*100) / ghost.HT) + "%"; } }