rebalancing

This commit is contained in:
evanpelle
2024-09-05 20:10:59 -07:00
parent 8800bef839
commit d910837520
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ export class ClientGame {
if (enemyShoreDists.length > 0 && bordersOcean) {
enemyShoreClosest = enemyShoreDists[0].dist
}
if (enemyShoreClosest < borderTileClosest) {
if (enemyShoreClosest < borderTileClosest / 2) {
this.sendBoatAttackIntent(targetID, enemyShoreDists[0].tile.cell(), this.gs.config().boatAttackAmount(this.myPlayer, owner))
} else {
this.sendAttackIntent(targetID, cell, this.gs.config().attackAmount(this.myPlayer, owner))
+2 -2
View File
@@ -56,9 +56,9 @@ export class DefaultConfig implements Config {
attackTilesPerTick(attacker: Player, defender: Player | TerraNullius, numAdjacentTilesWithEnemy: number): number {
if (defender.isPlayer()) {
return within(attacker.troops() / defender.troops() * 2, .01, .5) * numAdjacentTilesWithEnemy * 2 / 10
return within(attacker.troops() / defender.troops() * 2, .01, .5) * numAdjacentTilesWithEnemy * 2 / 5
} else {
return numAdjacentTilesWithEnemy * 2 / 10
return numAdjacentTilesWithEnemy * 2 / 5
}
}