mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 16:11:32 +00:00
increase gold addition rate, make ports slightly cheaper
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user