diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-13 23:11:30 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | da0130446329b1419d54904e1ab43aebefbfd3de (patch) | |
tree | fb5861977c46ef65174dd83614954a9890444c83 /tools/gendata.js | |
parent | 40fd74d16cdd2749c512e38989783894b001d7b2 (diff) | |
download | table-battles-da0130446329b1419d54904e1ab43aebefbfd3de.tar.gz |
flip the star
Diffstat (limited to 'tools/gendata.js')
-rw-r--r-- | tools/gendata.js | 5 |
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">★</div></div>`) - else - result.push(`<div class="dice_area">${c.dice}</div>`) + result.push(`<div class="star">★</div>`) + result.push(`<div class="dice_area">${c.dice}</div>`) } function make_action(type, requirement, target, effect) { |