summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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) {