From e83cadae45ec2da7930defe8c644967e519a999f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 9 Aug 2016 20:26:52 -0400 Subject: [PATCH] v0.4.1a: fixed some evil eye bugs (I think) --- .../shatteredpixeldungeon/actors/mobs/Eye.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java index 4543216f2..a8c49360f 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Eye.java @@ -106,7 +106,13 @@ public class Eye extends Mob { beamCooldown--; return super.act(); } - + + @Override + protected Char chooseEnemy() { + if (beamCharged) return enemy; + return super.chooseEnemy(); + } + @Override protected boolean doAttack( Char enemy ) {