diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Bee.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Bee.java index 6ecf0023a..d93330e8b 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Bee.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Bee.java @@ -118,7 +118,10 @@ public class Bee extends Mob { else { //if already targeting something, and that thing is still alive and near the pot, keeping targeting it. - if (enemy != null && enemy.isAlive() && Level.distance(enemy.pos, potPos) <= 3) return enemy; + if (enemy != null && enemy.isAlive() + && Level.fieldOfView[enemy.pos] && enemy.invisible == 0 + && Level.distance(enemy.pos, potPos) <= 3) + return enemy; //find all mobs near the pot HashSet enemies = new HashSet(); diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java index 6dfe41f7d..11f70cc7b 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Mob.java @@ -388,6 +388,9 @@ public abstract class Mob extends Char { public void aggro( Char ch ) { enemy = ch; + if (state != PASSIVE){ + state = HUNTING; + } } @Override