v0.8.2c: adjusted how permissive DM-201's are at grenade tossing
This commit is contained in:
parent
7ddccd23a9
commit
e1a7382d36
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user