From 9c7585912640d5226720cf832e1c6abb61afea2b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 24 Nov 2020 14:17:36 -0500 Subject: [PATCH] v0.9.1: fixed talent point msg not showing up after lvl 6 test test tes --- .../shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index 82a1adfd8..b746c1afa 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1455,7 +1455,7 @@ public class Hero extends Char { GLog.p( Messages.get(this, "new_level") ); sprite.showStatus( CharSprite.POSITIVE, Messages.get(Hero.class, "level_up") ); Sample.INSTANCE.play( Assets.Sounds.LEVELUP ); - if (lvl <= 6){ + if (lvl < Talent.tierLevelThresholds[Talent.MAX_TALENT_TIERS+1]){ GLog.newLine(); GLog.p( Messages.get(this, "new_talent") ); StatusPane.talentBlink = 10f;