NPCs less agressive, trade ship less gold, NPCs recapture after nuke

This commit is contained in:
Evan
2024-11-23 21:53:26 -08:00
parent 3b0e245e78
commit 5431aff30c
4 changed files with 31 additions and 26 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export class DefaultConfig implements Config {
}
tradeShipGold(src: Unit, dst: Unit): Gold {
const dist = manhattanDist(src.tile().cell(), dst.tile().cell())
return 10000 + 50 * dist
return 10000 + 5 * dist
}
unitInfo(type: UnitType): UnitInfo {
switch (type) {
@@ -207,7 +207,7 @@ export class DefaultConfig implements Config {
}
goldAdditionRate(player: Player): number {
return Math.sqrt(player.workers() * player.numTilesOwned()) / 900
return Math.sqrt(player.workers() * player.numTilesOwned()) / 600
}
troopAdjustmentRate(player: Player): number {