summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 13:21:44 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit82c6128f10dd19174b572e373e92810878b9f5d4 (patch)
treec97d732f5cfeb200c76d83becbc98af751212a0f /tools
parent7b3fb28c180a5e44fc4632fba890688c101765ab (diff)
downloadtable-battles-82c6128f10dd19174b572e373e92810878b9f5d4.tar.gz
Combine rout/pursue/remove/force-retire into one loop. Peach orchard.
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 61d1f2c..0dce472 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -43,6 +43,7 @@ for (let c of card_records) {
number: c.number,
name: c.name,
wing: WING[c.wing],
+ morale: 1,
}
if (c.alias)
@@ -71,7 +72,6 @@ for (let c of card_records) {
}
else {
card.strength = parseInt(c.strength)
- card.morale = 1
}
card.dice = c.dice