make NPCs less likely to build warships

This commit is contained in:
Evan
2024-12-23 10:13:35 -08:00
parent 10d70d3327
commit 4e1b37d976
+1 -1
View File
@@ -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)