From 0d6ea010f1fb59807246bbd9396fca4de14ae99e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 6 Aug 2022 12:35:16 -0400 Subject: [PATCH] v1.4.0: chalice no larger benefits from recharging when starving --- .../shatteredpixeldungeon/items/artifacts/ChaliceOfBlood.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/ChaliceOfBlood.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/ChaliceOfBlood.java index 0277fb000..eac828f83 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/ChaliceOfBlood.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/ChaliceOfBlood.java @@ -155,7 +155,9 @@ public class ChaliceOfBlood extends Artifact { public void charge(Hero target, float amount) { if (cursed || target.buff(MagicImmune.class) != null) return; - //grants 5 turns of healing up-front + //grants 5 turns of healing up-front, if hero isn't starving + if (target.isStarving()) return; + float healDelay = 10f - level()*0.9f; healDelay /= amount; //effectively 1HP at lvl 0-5, 2HP lvl 6-8, 3HP lvl 9, and 5HP lvl 10.