From 9a30ef0fc5a5a6fb45e1dc9d72cfa762fe8285b5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 14 Dec 2023 16:00:33 +0100 Subject: WIP Hothenfriedberg --- tools/gendata.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/gendata.js b/tools/gendata.js index 1df67b1..bd1e799 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -308,6 +308,10 @@ function process_card(c, ix) { a.target_list = null else a.target_list = tname.split(/, | OR | or | and /).map(name => find_card(c.scenario, name)) + + // Hothenfriedberg invisible charles last target in list! + if (c.number === "267A" || c.number === "268A" || c.number === "269A") + a.target_list.push(find_card(c.scenario, "Charles")) } if (a.type === "Absorb") a.target_list = a.target_list.filter(x => x !== ix) // never absorb for self -- cgit v1.2.3