mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-30 17:07:11 +00:00
NPCs only attack target when friendly, more bonus for larger attack vs defender troops
This commit is contained in:
@@ -221,7 +221,7 @@ export class DefaultConfig implements Config {
|
||||
|
||||
if (defender.isPlayer()) {
|
||||
return {
|
||||
attackerTroopLoss: within(defender.troops() / (5 * attackTroops), .5, 2) * mag,
|
||||
attackerTroopLoss: within(defender.troops() / (5 * attackTroops), .1, 10) * mag,
|
||||
defenderTroopLoss: defender.troops() / defender.numTilesOwned(),
|
||||
tilesPerTickUsed: within(defender.troops() / (5 * attackTroops), .2, 1.5) * speed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user