v1.4.0: fixed giant necromancers summoning skeletons into doorways
This commit is contained in:
@@ -272,6 +272,7 @@ public class Necromancer extends Mob {
|
||||
if (Actor.findChar(enemy.pos+c) == null
|
||||
&& PathFinder.distance[enemy.pos+c] != Integer.MAX_VALUE
|
||||
&& Dungeon.level.passable[enemy.pos+c]
|
||||
&& (!hasProp(Necromancer.this, Property.LARGE) || Dungeon.level.openSpace[enemy.pos+c])
|
||||
&& fieldOfView[enemy.pos+c]
|
||||
&& Dungeon.level.trueDistance(pos, enemy.pos+c) < Dungeon.level.trueDistance(pos, summoningPos)){
|
||||
summoningPos = enemy.pos+c;
|
||||
|
||||
Reference in New Issue
Block a user