Skip to content

Commit

Permalink
Fixed Smoke Bomb not working, plus actually fixed hasty retreat durat…
Browse files Browse the repository at this point in the history
…ions this time.
  • Loading branch information
Zrp200 committed Sep 6, 2021
1 parent 640fb20 commit 718ca5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static <T extends Mob> void doBodyReplacement(Hero hero, Talent talent, C
@Override
protected void activate(ClassArmor armor, Hero hero, Integer target) {
if (target != null) {
if(isValidTarget(hero, target, 8)) return;
if(!isValidTarget(hero, target, 8)) return;
armor.useCharge();

if (!isShadowStep(hero)) {
Expand All @@ -150,7 +150,7 @@ protected void activate(ClassArmor armor, Hero hero, Integer target) {
}

public static void applyHastyRetreat(Hero hero) {
int duration = hero.shiftedPoints(Talent.HASTY_RETREAT, Talent.SMOKE_AND_MIRRORS);
float duration = hero.shiftedPoints(Talent.HASTY_RETREAT, Talent.SMOKE_AND_MIRRORS);
if(duration == 0) return;
duration += 0.67f;
Buff.affect(hero, Haste.class, duration);
Expand Down

0 comments on commit 718ca5c

Please sign in to comment.