mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 15:40:45 +00:00
rebalancing
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user