diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java index 528f42358..3325ecba8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java @@ -571,7 +571,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action { Sample.INSTANCE.play(Assets.Sounds.HIT_STRONG); } - if (enemy.isAlive() && oldPos == enemy.pos){ + if (oldPos == enemy.pos){ //trace a ballistica to our target (which will also extend past them Ballistica trajectory = new Ballistica(hero.pos, enemy.pos, Ballistica.STOP_TARGET); //trim it to just be the part that goes past them @@ -579,7 +579,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action { //knock them back along that ballistica WandOfBlastWave.throwChar(enemy, trajectory, 6, true, false, hero); - if (trajectory.dist > 0) { + if (trajectory.dist > 0 && enemy.isActive()) { Buff.affect(enemy, Paralysis.class, Math.min( 6, trajectory.dist)); } } @@ -600,7 +600,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action { //knock them back along that ballistica WandOfBlastWave.throwChar(ch, trajectory, 6, true, false, hero); - if (trajectory.dist > 0) { + if (trajectory.dist > 0 && enemy.isActive()) { Buff.affect(ch, Paralysis.class, Math.min( 6, trajectory.dist)); } }