v0.3.3: fixed a bug with Tengu's blink ability
This commit is contained in:
parent
a210fe945c
commit
d2b2771f32
|
@ -172,7 +172,7 @@ public class Tengu extends Mob {
|
|||
do {
|
||||
newPos = Random.Int(Level.LENGTH);
|
||||
} while (
|
||||
!Level.fieldOfView[newPos] ||
|
||||
!(Dungeon.level.map[newPos] == Terrain.INACTIVE_TRAP || Dungeon.level.map[newPos] == Terrain.TRAP)||
|
||||
Level.solid[newPos] ||
|
||||
Level.adjacent(newPos, enemy.pos) ||
|
||||
Actor.findChar(newPos) != null);
|
||||
|
|
Loading…
Reference in New Issue
Block a user