From b7837daacfc314f11df737142b47e1abc1e94cd8 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 27 Aug 2021 15:10:55 -0400 Subject: [PATCH] v1.0.2: fixed hasty retreat lasting for fewer turns than intended --- .../actors/hero/abilities/rogue/SmokeBomb.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/rogue/SmokeBomb.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/rogue/SmokeBomb.java index 9e6b716c0..2e073a969 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/rogue/SmokeBomb.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/abilities/rogue/SmokeBomb.java @@ -112,7 +112,8 @@ public class SmokeBomb extends ArmorAbility { } if (hero.hasTalent(Talent.HASTY_RETREAT)){ - int duration = hero.pointsInTalent(Talent.HASTY_RETREAT); + //effectively 1/2/3/4 turns + float duration = 0.67f + hero.pointsInTalent(Talent.HASTY_RETREAT); Buff.affect(hero, Haste.class, duration); Buff.affect(hero, Invisibility.class, duration); }