aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-08-07 18:01:57 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-07 18:01:57 +0200
commit7f9f693eb4a373de7f1d21e9f543fda1356d99ff (patch)
treefecedcc75c13ca1c92ebb03aae1d98aa73b79b9b /go
parent8f09f910ef50efa56e0c08701c5a31ac5b489160 (diff)
downloadmuhqs-game-touchHover.tar.gz
muhqs-game-touchHover.zip
allow up to 4 units in cav. archer challengetouchHover
Diffstat (limited to 'go')
-rw-r--r--go/game/challenge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/challenge.go b/go/game/challenge.go
index 6e314b26..0cee7d63 100644
--- a/go/game/challenge.go
+++ b/go/game/challenge.go
@@ -50,7 +50,7 @@ func prepCavArcherChallenge(s *LocalState) *LocalState {
s.addNewUnit(u, tile.Position, p)
// Prepare the opponent's units
- nUnits := rand.Intn(2) + 2
+ nUnits := rand.Intn(3) + 2
// add support equipment
if nUnits > 3 {