summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-15 19:18:16 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit10a85af52ed7f94d65729d5c7a9a9473582cf328 (patch)
tree98edb3f1b6f05872d7dd0711313473fc5316a433 /tools/gendata.js
parent72b10675a9a6db9ca89169707de33f8048119e72 (diff)
downloadtable-battles-10a85af52ed7f94d65729d5c7a9a9473582cf328.tar.gz
data
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 101a88e..07c4f47 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -97,6 +97,9 @@ for (let c of card_records) {
else if (c.strength === "V") {
card.special = 5
}
+ else if (c.strength === "?") {
+ card.special = -1
+ }
else if (c.strength.endsWith("*")) {
card.strength = parseInt(c.strength)
card.morale = 2