mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 09:14:09 +00:00
give more attack bonus larger attack.
This commit is contained in:
@@ -474,7 +474,7 @@ export class DefaultConfig implements Config {
|
|||||||
|
|
||||||
if (defender.isPlayer()) {
|
if (defender.isPlayer()) {
|
||||||
const ratio = within(
|
const ratio = within(
|
||||||
Math.pow(defender.troops() / attackTroops, 0.2),
|
Math.pow(defender.troops() / attackTroops, 0.4),
|
||||||
0.1,
|
0.1,
|
||||||
10,
|
10,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user