From a99e356ecc08b0718b7870a348b7c57ac16098b1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 13 Dec 2023 16:57:47 +0100 Subject: Edgehill. --- tools/gendata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/gendata.js b/tools/gendata.js index 1b451c4..36b42cf 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -298,7 +298,8 @@ function process_card(c) { if (c.pursuit) { if (c.actions[0].type !== "Attack" && c.actions[0].type !== "Counterattack") throw new Error("PURSUIT without Attack or Counterattack as first action") - if (c.actions[0].target_list.length !== 1) throw new Error("PURSUIT with more than one target!") + if (c.actions[0].target_list.length !== 1) + throw new Error("PURSUIT with more than one target!") c.pursuit = c.actions[0].target_list[0] } if (c.reserve) -- cgit v1.2.3