From 3a31a961bc649e7a0aed12b94e564f5136e840a5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 16 Dec 2023 17:06:24 +0100 Subject: gendata --- tools/gendata.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gendata.js b/tools/gendata.js index 0a8ab7c..370c9e0 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -362,7 +362,9 @@ function process_card(c, ix) { a.target_list = a.target_list.filter(x => x !== ix) // never absorb for self } - if (/, /.test(a.target) || !a.target_list || a.target_list.length < 2) + if (a.type === "Screen") + a.choice = 1 + else if (/, /.test(a.target) || !a.target_list || a.target_list.length < 2) a.choice = 0 else a.choice = 1 -- cgit v1.2.3