mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 16:12:43 +00:00
another adjustment
This commit is contained in:
@@ -483,8 +483,8 @@ export class DefaultConfig implements Config {
|
||||
defenderdensity ** 0.6 *
|
||||
within(defender.troops() / attackTroops, 0.3, 10) ** 0.5 *
|
||||
speed,
|
||||
10,
|
||||
600,
|
||||
8,
|
||||
480,
|
||||
),
|
||||
};
|
||||
} else {
|
||||
@@ -504,11 +504,9 @@ export class DefaultConfig implements Config {
|
||||
numAdjacentTilesWithEnemy: number,
|
||||
): number {
|
||||
if (defender.isPlayer()) {
|
||||
return (
|
||||
10 * numAdjacentTilesWithEnemy //increase to increase attack speed across-the-board
|
||||
);
|
||||
return 8 * numAdjacentTilesWithEnemy;
|
||||
} else {
|
||||
return 10 * numAdjacentTilesWithEnemy;
|
||||
return 8 * numAdjacentTilesWithEnemy;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -292,12 +292,13 @@ export class AttackExecution implements Execution {
|
||||
mag = 1;
|
||||
break;
|
||||
case TerrainType.Highland:
|
||||
mag = 1.5;
|
||||
mag = Math.random() < 0.4 ? 1 : 1.5;
|
||||
break;
|
||||
case TerrainType.Mountain:
|
||||
mag = 2;
|
||||
mag = Math.random() < 0.4 ? 1 : 2;
|
||||
break;
|
||||
}
|
||||
|
||||
this.toConquer.enqueue(
|
||||
new TileContainer(
|
||||
neighbor,
|
||||
|
||||
Reference in New Issue
Block a user