increase gold addition rate, make ports slightly cheaper

This commit is contained in:
Evan
2024-11-23 20:02:48 -08:00
parent 5334cd4e9f
commit 6b934a5929
2 changed files with 3 additions and 5 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ export class DefaultConfig implements Config {
}
case UnitType.Destroyer:
return {
cost: 100_000,
cost: 250_000,
territoryBound: false
}
case UnitType.Port:
return {
cost: 300_000,
cost: 250_000,
territoryBound: true
}
case UnitType.AtomBomb:
@@ -207,7 +207,7 @@ export class DefaultConfig implements Config {
}
goldAdditionRate(player: Player): number {
return Math.sqrt(player.workers() * player.numTilesOwned()) / 1000
return Math.sqrt(player.workers() * player.numTilesOwned()) / 900
}
troopAdjustmentRate(player: Player): number {
-2
View File
@@ -62,8 +62,6 @@ export class NukeExecution implements Execution {
private detonate() {
const magnitude = this.type == UnitType.AtomBomb ? { inner: 20, outer: 40 } : { inner: 160, outer: 180 }
const rand = new PseudoRandom(this.mg.ticks())
const tile = this.mg.tile(this.cell)
const toDestroy = bfs(tile, (n: Tile) => {