v1.0.2: fixed hasty retreat lasting for fewer turns than intended
This commit is contained in:
parent
4be377db66
commit
b7837daacf
|
@ -112,7 +112,8 @@ public class SmokeBomb extends ArmorAbility {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hero.hasTalent(Talent.HASTY_RETREAT)){
|
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, Haste.class, duration);
|
||||||
Buff.affect(hero, Invisibility.class, duration);
|
Buff.affect(hero, Invisibility.class, duration);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user