diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-13 15:08:05 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | c5e067628fa60914c388164e72716e487862e68e (patch) | |
tree | 60e970a75ce27785eee35c0401605f3ba48215e0 /tools | |
parent | 82c6128f10dd19174b572e373e92810878b9f5d4 (diff) | |
download | table-battles-c5e067628fa60914c388164e72716e487862e68e.tar.gz |
Breastworks!
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 6 |
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 |