summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 23:11:30 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commitda0130446329b1419d54904e1ab43aebefbfd3de (patch)
treefb5861977c46ef65174dd83614954a9890444c83 /tools
parent40fd74d16cdd2749c512e38989783894b001d7b2 (diff)
downloadtable-battles-da0130446329b1419d54904e1ab43aebefbfd3de.tar.gz
flip the star
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 1e73c07..283449d 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -117,9 +117,8 @@ for (let c of card_records) {
if (c.dice) {
if (card.morale === 2)
- result.push(`<div class="dice_area">${c.dice}<div class="star">&#x2605;</div></div>`)
- else
- result.push(`<div class="dice_area">${c.dice}</div>`)
+ result.push(`<div class="star">&#x2605;</div>`)
+ result.push(`<div class="dice_area">${c.dice}</div>`)
}
function make_action(type, requirement, target, effect) {