always recalc name, NPCs spawn warships less frequently

This commit is contained in:
Evan
2024-12-27 10:59:41 -08:00
parent 2ceeda051d
commit bb968ec6b6
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ export class FakeHumanExecution implements Execution {
}
private maybeSpawnWarship(shipType: UnitType.Destroyer | UnitType.Battleship): boolean {
if (!this.random.chance(30)) {
if (!this.random.chance(50)) {
return false
}
const ports = this.player.units(UnitType.Port)