mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 14:41:35 +00:00
make NPCs less likely to build warships
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user