summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js4
1 files changed, 4 insertions, 0 deletions
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