mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 11:34:43 +00:00
reduce transport frequency for fakehumanexecution, make transport render more efficient
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user