stable
This commit is contained in:
parent
86226ccc94
commit
077d4ab9ac
71 changed files with 2905 additions and 1063 deletions
|
|
@ -369,7 +369,7 @@
|
|||
this.targetKey = key;
|
||||
this.targetSince = this.world.time;
|
||||
this.targetBestDist = d;
|
||||
} else if (d < (this.targetBestDist || Infinity) - 8) {
|
||||
} else if (d < (this.targetBestDist || Infinity) - 6) {
|
||||
this.targetBestDist = d;
|
||||
this.targetSince = this.world.time;
|
||||
}
|
||||
|
|
@ -381,7 +381,7 @@
|
|||
this.wanderAngle += rand(-1.4, 1.4);
|
||||
return;
|
||||
}
|
||||
if (this.world.time - (this.targetSince || this.world.time) > 30 && d > this.radius + 24) {
|
||||
if (this.world.time - (this.targetSince || this.world.time) > 10.5 && d > this.radius + 24) {
|
||||
this.targetGiveupKey = key;
|
||||
this.targetGiveupUntil = this.world.time + 12;
|
||||
this.target = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue