remove large territory attack bonus, will hopefully prevent too much snowballing

This commit is contained in:
Evan
2025-03-14 10:22:45 -07:00
parent da50aa28d2
commit 462e1734b1
+1 -9
View File
@@ -401,24 +401,16 @@ export class DefaultConfig implements Config {
}
}
let largeModifier = 1;
if (attacker.numTilesOwned() > 50_000) {
largeModifier = Math.sqrt(50_000 / attacker.numTilesOwned());
}
if (defender.isPlayer()) {
return {
attackerTroopLoss:
within(defender.troops() / attackTroops, 0.5, 2) *
mag *
0.8 *
largeModifier *
(defender.isTraitor() ? this.traitorDefenseDebuff() : 1),
defenderTroopLoss: defender.troops() / defender.numTilesOwned(),
tilesPerTickUsed:
within(defender.troops() / (5 * attackTroops), 0.2, 1.5) *
speed *
largeModifier,
within(defender.troops() / (5 * attackTroops), 0.2, 1.5) * speed,
};
} else {
return {