From 78a7de56fca4b9ec48e40e55addfad8e7286a62d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 22 Sep 2022 13:39:29 -0400 Subject: [PATCH] v1.4.0: resting now triggers the hold fast talent --- .../shatteredpixeldungeon/actors/hero/Hero.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 58e47daf7..8f2389dc0 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 @@ -1143,10 +1143,10 @@ public class Hero extends Char { public void rest( boolean fullRest ) { spendAndNextConstant( TIME_TO_REST ); + if (hasTalent(Talent.HOLD_FAST)){ + Buff.affect(this, HoldFast.class); + } if (!fullRest) { - if (hasTalent(Talent.HOLD_FAST)){ - Buff.affect(this, HoldFast.class); - } if (sprite != null) { sprite.showStatus(CharSprite.DEFAULT, Messages.get(this, "wait")); }