diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js index dce36b3..bb9c606 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -176,6 +176,8 @@ for (let c of card_records) { card.pursuit = 1 else if (c.reserve === "Commanded") card.reserve = [] + else if (c.reserve === "See Above") + card.reserve = [] else card.reserve = c.reserve.split(" or ") @@ -247,6 +249,8 @@ for (let c of cards) { a.target_list = find_friendly_cards(c.scenario, c.wing) else if (a.target === "Any friendly Pink formation") a.target_list = find_wing_cards(c.scenario, WING.pink) + else if (a.target === "Any other Pink formation") + a.target_list = find_wing_cards(c.scenario, WING.pink).filter(x => x !== c) else if (a.target === "Any Red formation") a.target_list = find_wing_cards(c.scenario, WING.red) else if (a.target.startsWith("Any attack on ")) |