From 3e4c137e2087109a3cfcb5c3fd84d5b8924d5b1c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 22 Feb 2021 20:24:40 -0500 Subject: [PATCH] v0.9.2: fixed the player being able to input actions during combo moves --- .../shatteredpixeldungeon/actors/buffs/Combo.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java index 938e787a4..fece72801 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Combo.java @@ -228,6 +228,7 @@ public class Combo extends Buff implements ActionIndicator.Action { comboTime = 5f; Buff.affect(target, ParryTracker.class, Actor.TICK); ((Hero)target).spendAndNext(Actor.TICK); + Dungeon.hero.busy(); } else { moveBeingUsed = move; GameScene.selectCell(listener); @@ -447,6 +448,7 @@ public class Combo extends Buff implements ActionIndicator.Action { } else { Ballistica c = new Ballistica(target.pos, enemy.pos, Ballistica.PROJECTILE); if (c.collisionPos == enemy.pos){ + Dungeon.hero.busy(); target.sprite.jump(target.pos, c.path.get(c.dist-1), new Callback() { @Override public void call() { @@ -468,6 +470,7 @@ public class Combo extends Buff implements ActionIndicator.Action { } } else { + Dungeon.hero.busy(); target.sprite.attack(cell, new Callback() { @Override public void call() {