v0.9.2a: fixed clobber not knocking flying enemies over pits

This commit is contained in:
Evan Debenham
2021-03-09 23:37:24 -05:00
parent 85a845f529
commit 92f8fa128c

View File

@@ -333,7 +333,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
if (count >= 7 && hero.pointsInTalent(Talent.ENHANCED_COMBO) >= 1){
dist ++;
Buff.prolong(enemy, Vertigo.class, 3);
} else {
} else if (!enemy.flying) {
while (dist > trajectory.dist ||
(dist > 0 && Dungeon.level.pit[trajectory.path.get(dist)])) {
dist--;