v2.3.0: fixed hearty meal only triggering below 1/4 HP

This commit is contained in:
Evan Debenham
2023-12-08 13:01:24 -05:00
parent 44a0ac283b
commit 1c946607e4

View File

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