v1.0.2: fixed hasty retreat lasting for fewer turns than intended

This commit is contained in:
Evan Debenham 2021-08-27 15:10:55 -04:00
parent 4be377db66
commit b7837daacf

View File

@ -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);
}