diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-18 16:41:43 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 4a3d059599d88ddfea44c9d57f0db5aeba1e3780 (patch) | |
tree | 7ee961ea5c365db8e727425fb035adf2c8e1f09b /tools | |
parent | da2308355d3893ab49651aa1985a6b112ef1640c (diff) | |
download | table-battles-4a3d059599d88ddfea44c9d57f0db5aeba1e3780.tar.gz |
Use (5/6) instead of (5)/(6)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 2 |
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, |