better troop addition

This commit is contained in:
evanpelle
2024-08-11 17:28:34 -07:00
parent 1070a5171a
commit 14e7cb2ac9
6 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ export class ClientGame {
type: "attack",
attackerID: this.myPlayer.id(),
targetID: targetID,
troops: 2000,
troops: this.myPlayer.troops() / 5,
targetX: cell.x,
targetY: cell.y
}