From 1c946607e4400951826568f840d93f86a1f5abff Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 8 Dec 2023 13:01:24 -0500 Subject: [PATCH] v2.3.0: fixed hearty meal only triggering below 1/4 HP --- .../shatteredpixeldungeon/actors/hero/Talent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java index a82797ebc..f654c804a 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java @@ -465,7 +465,7 @@ public enum Talent { public static void onFoodEaten( Hero hero, float foodVal, Item foodSource ){ if (hero.hasTalent(HEARTY_MEAL)){ - if (hero.HP <= hero.HT/4) { + if (hero.HP <= hero.HT/2) { //2/3 HP healed, when hero is below 50% health int healing = 1 + hero.pointsInTalent(HEARTY_MEAL); //3/5 HP healed, when hero is below 25% health