From 4a3d059599d88ddfea44c9d57f0db5aeba1e3780 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 18 Dec 2023 16:41:43 +0100 Subject: Use (5/6) instead of (5)/(6) --- tools/gendata.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gendata.js') 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, -- cgit v1.2.3