reduce transport frequency for fakehumanexecution, make transport render more efficient

This commit is contained in:
Evan
2025-04-05 17:14:56 -07:00
parent d560e90486
commit 0dbc246a63
3 changed files with 6 additions and 7 deletions
+3 -3
View File
@@ -150,12 +150,12 @@ export class FakeHumanExecution implements Execution {
);
if (enemyborder.length == 0) {
if (this.random.chance(5)) {
if (this.random.chance(10)) {
this.sendBoatRandomly();
}
return;
}
if (this.random.chance(10)) {
if (this.random.chance(20)) {
this.sendBoatRandomly();
return;
}
@@ -513,7 +513,7 @@ export class FakeHumanExecution implements Execution {
const src = this.random.randElement(oceanShore);
const dst = this.randOceanShoreTile(src, 250);
const dst = this.randOceanShoreTile(src, 150);
if (dst == null) {
return;
}