mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 19:56:43 +00:00
tile length sublinear
This commit is contained in:
@@ -565,9 +565,9 @@ export class DefaultConfig implements Config {
|
||||
numAdjacentTilesWithEnemy: number,
|
||||
): number {
|
||||
if (defender.isPlayer()) {
|
||||
return 10 * numAdjacentTilesWithEnemy;
|
||||
return 10 * numAdjacentTilesWithEnemy ** 0.7;
|
||||
} else {
|
||||
return 12 * numAdjacentTilesWithEnemy;
|
||||
return 12 * numAdjacentTilesWithEnemy ** 0.7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user