diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-23 12:51:59 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-07 18:39:37 +0200 |
commit | 480df7113c50d45f748b4af8ce59172d58568376 (patch) | |
tree | 02ae88f35942a42cb76e504d629862b5a46f0065 /tools | |
parent | ae71215fc3ae9c7f838a6cd76f82ad64a3728acd (diff) | |
download | time-of-crisis-480df7113c50d45f748b4af8ce59172d58568376.tar.gz |
Events.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencards.js | 4 |
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) |