v0.3.3: fixed guards using their chains while paralyzed
This commit is contained in:
parent
3b2def76fd
commit
30404257df
|
@ -65,6 +65,7 @@ public class Guard extends Mob {
|
||||||
Dungeon.level.updateFieldOfView( this );
|
Dungeon.level.updateFieldOfView( this );
|
||||||
|
|
||||||
if (state == HUNTING &&
|
if (state == HUNTING &&
|
||||||
|
paralysed <= 0 &&
|
||||||
enemy != null &&
|
enemy != null &&
|
||||||
enemy.invisible == 0 &&
|
enemy.invisible == 0 &&
|
||||||
Level.fieldOfView[enemy.pos] &&
|
Level.fieldOfView[enemy.pos] &&
|
||||||
|
|
Loading…
Reference in New Issue
Block a user