+
(+${renderTroops(this.troopRate)})
-
-
- ${translateText("control_panel.gold")}:
- ${renderNumber(this._gold)}
-
-
(${renderTroops(
(this.game?.myPlayer()?.troops() ?? 0) * this.attackRatio,
)})
-
-
-
-
-
-
-
-
-
-
{
- this.attackRatio =
- parseInt((e.target as HTMLInputElement).value) / 100;
- this.onAttackRatioChange(this.attackRatio);
- }}
- class="absolute left-0 right-0 top-2 m-0 h-4 cursor-pointer attackRatio"
- />
+
+