summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-18 16:41:43 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit4a3d059599d88ddfea44c9d57f0db5aeba1e3780 (patch)
tree7ee961ea5c365db8e727425fb035adf2c8e1f09b /tools/gendata.js
parentda2308355d3893ab49651aa1985a6b112ef1640c (diff)
downloadtable-battles-4a3d059599d88ddfea44c9d57f0db5aeba1e3780.tar.gz
Use (5/6) instead of (5)/(6)
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index b529fc0..6940249 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -124,6 +124,8 @@ for (let c of card_records) {
if (!c.name)
continue
+ c.dice = c.dice.replace(")/(", "/")
+
let card = {
scenario: parseInt(c.scenario),
number: c.number,