From e1a7382d3697675e50ed5888c31b80df92c605f1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 27 Aug 2020 11:44:43 -0400 Subject: [PATCH] v0.8.2c: adjusted how permissive DM-201's are at grenade tossing --- .../shatteredpixeldungeon/actors/mobs/DM201.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM201.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM201.java index fd6dcbf0e..4c9245d07 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM201.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM201.java @@ -65,8 +65,8 @@ public class DM201 extends DM200 { GameScene.add(Blob.seed(pos, 0, CorrosiveGas.class)); if (state == HUNTING && enemy != null && enemySeen - && threatened && !Dungeon.level.adjacent(pos, enemy.pos)){ - enemySeen = enemy != null && enemy.isAlive() && fieldOfView[enemy.pos] && enemy.invisible <= 0; + && threatened && !Dungeon.level.adjacent(pos, enemy.pos) && fieldOfView[enemy.pos]){ + enemySeen = enemy.isAlive() && fieldOfView[enemy.pos] && enemy.invisible <= 0; if (sprite != null && (sprite.visible || enemy.sprite.visible)) { sprite.zap( enemy.pos ); return false;