v3.1.0: fixed gnoll exiles being set to wandering when spawned over time
This commit is contained in:
@@ -740,7 +740,9 @@ public abstract class Level implements Bundlable {
|
|||||||
PathFinder.buildDistanceMap(Dungeon.hero.pos, BArray.or(passable, avoid, null));
|
PathFinder.buildDistanceMap(Dungeon.hero.pos, BArray.or(passable, avoid, null));
|
||||||
|
|
||||||
Mob mob = createMob();
|
Mob mob = createMob();
|
||||||
mob.state = mob.WANDERING;
|
if (mob.state != mob.PASSIVE) {
|
||||||
|
mob.state = mob.WANDERING;
|
||||||
|
}
|
||||||
int tries = 30;
|
int tries = 30;
|
||||||
do {
|
do {
|
||||||
mob.pos = randomRespawnCell(mob);
|
mob.pos = randomRespawnCell(mob);
|
||||||
|
|||||||
Reference in New Issue
Block a user