summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-22 00:57:49 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit61b16996e634fa49cbb3ffd8924f3c0e4fc0f31c (patch)
tree065d85b772a8c90fc0aafa72290f452c05c77558 /rules.js
parentdc5affe3c0c0c80ffb342d2b2a15c9512e4604d4 (diff)
downloadnevsky-61b16996e634fa49cbb3ffd8924f3c0e4fc0f31c.tar.gz
Battle mat mockup.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index b9a8997..4318fd1 100644
--- a/rules.js
+++ b/rules.js
@@ -4691,13 +4691,15 @@ function start_battle() {
log_h3(`Battle at %${here}`)
game.battle = {
- attacker: game.active,
where: here,
+ attacker: game.active,
conceded: 0,
array: [
- NOBODY, NOBODY, NOBODY,
- NOBODY, NOBODY, NOBODY,
+ NOBODY, NOBODY, NOBODY, // attacker
+ NOBODY, NOBODY, NOBODY, // defender
+ NOBODY, NOBODY, NOBODY, // sally
],
+ garrison: 0,
reserves: [],
routed: [],
loser: 0,