v1.4.0: chalice no larger benefits from recharging when starving

This commit is contained in:
Evan Debenham
2022-08-06 12:35:16 -04:00
parent b3f7cf3a8e
commit 0d6ea010f1

View File

@@ -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.