diff --git a/src/client/graphics/layers/ControlPanel.ts b/src/client/graphics/layers/ControlPanel.ts index 19d2bd02c..9ce3cc7cf 100644 --- a/src/client/graphics/layers/ControlPanel.ts +++ b/src/client/graphics/layers/ControlPanel.ts @@ -16,13 +16,13 @@ export class ControlPanel extends LitElement implements Layer { public uiState: UIState; @state() - private attackRatio: number = 0.2; + private attackRatio: number = 0.3; @state() - private targetTroopRatio = 0.95; + private targetTroopRatio = 0.6; @state() - private currentTroopRatio = 0.95; + private currentTroopRatio = 0.6; @state() private _population: number; @@ -59,10 +59,10 @@ export class ControlPanel extends LitElement implements Layer { init() { this.attackRatio = Number( - localStorage.getItem("settings.attackRatio") ?? "0.2", + localStorage.getItem("settings.attackRatio") ?? "0.3", ); this.targetTroopRatio = Number( - localStorage.getItem("settings.troopRatio") ?? "0.95", + localStorage.getItem("settings.troopRatio") ?? "0.6", ); this.init_ = true; this.uiState.attackRatio = this.attackRatio; diff --git a/src/core/game/PlayerImpl.ts b/src/core/game/PlayerImpl.ts index 49aa91777..46e4fe0a9 100644 --- a/src/core/game/PlayerImpl.ts +++ b/src/core/game/PlayerImpl.ts @@ -109,7 +109,7 @@ export class PlayerImpl implements Player { ) { this._flag = playerInfo.flag; this._name = sanitizeUsername(playerInfo.name); - this._targetTroopRatio = 95n; + this._targetTroopRatio = 60n; this._troops = toInt(startTroops); this._workers = 0n; this._gold = 0n;