v0.3.3: fixed guards using their chains while paralyzed
This commit is contained in:
@@ -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] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user