summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 15:08:05 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commitc5e067628fa60914c388164e72716e487862e68e (patch)
tree60e970a75ce27785eee35c0401605f3ba48215e0 /tools
parent82c6128f10dd19174b572e373e92810878b9f5d4 (diff)
downloadtable-battles-c5e067628fa60914c388164e72716e487862e68e.tar.gz
Breastworks!
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 0dce472..1b451c4 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -62,6 +62,12 @@ for (let c of card_records) {
else if (c.strength === "III") {
card.special = 3
}
+ else if (c.strength === "IV") {
+ card.special = 4
+ }
+ else if (c.strength === "V") {
+ card.special = 5
+ }
else if (c.strength.endsWith("*")) {
card.strength = parseInt(c.strength)
card.morale = 2