From 4e1b37d976fcbded6579a54a680346cf2d90c29a Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 23 Dec 2024 10:13:35 -0800 Subject: [PATCH] make NPCs less likely to build warships --- src/core/execution/FakeHumanExecution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index 1913c224d..2f1131330 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -171,7 +171,7 @@ export class FakeHumanExecution implements Execution { } private maybeSpawnWarship(shipType: UnitType.Destroyer | UnitType.Battleship): boolean { - if (!this.random.chance(10)) { + if (!this.random.chance(30)) { return false } const ports = this.player.units(UnitType.Port)