v0.9.2: fixed lethal momentum not triggering on thrown weapons

This commit is contained in:
Evan Debenham 2021-02-05 13:00:10 -05:00
parent 3bb048a19d
commit 42d7d70fdb

View File

@ -558,7 +558,12 @@ public class Item implements Bundlable {
Buff.affect(curUser, Talent.ImprovisedProjectileCooldown.class, 30f);
}
}
user.spendAndNext(delay);
if (user.buff(Talent.LethalMomentumTracker.class) != null){
user.buff(Talent.LethalMomentumTracker.class).detach();
user.next();
} else {
user.spendAndNext(delay);
}
}
});
} else {