summaryrefslogtreecommitdiff
path: root/tools/gencards.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-06-23 12:51:59 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-07 18:39:37 +0200
commit480df7113c50d45f748b4af8ce59172d58568376 (patch)
tree02ae88f35942a42cb76e504d629862b5a46f0065 /tools/gencards.js
parentae71215fc3ae9c7f838a6cd76f82ad64a3728acd (diff)
downloadtime-of-crisis-480df7113c50d45f748b4af8ce59172d58568376.tar.gz
Events.
Diffstat (limited to 'tools/gencards.js')
-rw-r--r--tools/gencards.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gencards.js b/tools/gencards.js
index ee88c70..1ca352d 100644
--- a/tools/gencards.js
+++ b/tools/gencards.js
@@ -8,8 +8,8 @@ const P = 2
const CARD_INDEX = []
const CARD_INFO = []
-function mk(n, type, cost, name, event) {
- CARD_INFO[xx] = { name, type, cost, event }
+function mk(n, type, value, name, event) {
+ CARD_INFO[xx] = { name, type, value, event }
var a = ix
var b = ix + n - 1
for (let i = 0; i < n; ++i)