Merge pull request #148 from ilan-schemoul/main

default 95% soldiers
This commit is contained in:
evanpelle
2025-03-06 09:03:44 -08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -21,10 +21,10 @@ export class ControlPanel extends LitElement implements Layer {
private attackRatio: number = 0.2;
@state()
private targetTroopRatio = 1;
private targetTroopRatio = 0.9;
@state()
private currentTroopRatio = 1;
private currentTroopRatio = 0.9;
@state()
private _population: number;
+2 -2
View File
@@ -65,7 +65,7 @@ export class PlayerImpl implements Player {
private _workers: bigint;
// 0 to 100
private _targetTroopRatio: bigint = 100n;
private _targetTroopRatio: bigint;
isTraitor_ = false;
@@ -101,7 +101,7 @@ export class PlayerImpl implements Player {
) {
this._flag = playerInfo.flag;
this._name = playerInfo.name;
this._targetTroopRatio = 100n;
this._targetTroopRatio = 95n;
this._troops = toInt(startTroops);
this._workers = 0n;
this._gold = 0n;