From a18f1e41541b4e206c54af13733aef394458b8ca Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 17 Dec 2023 17:10:56 +0100 Subject: Pharsalus. --- rules.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rules.js b/rules.js index 4c0d6c9..3ab20fd 100644 --- a/rules.js +++ b/rules.js @@ -211,6 +211,10 @@ const S8_CLINTON = find_card(8, "Clinton") const S8_GRANT = find_card(8, "Grant") const S8_HESSIANS = find_card(8, "Hessians") +const S36_PHARSALUS = find_scenario(36) +const S36_SULLA = find_card(36, "Sulla") +const S36_FOURTH_LINE = find_card(36, "The Fourth Line") + const S37_INKERMAN = find_scenario(37) const S37_PAULOFFS_LEFT = find_card(37, "Pauloff's Left") const S37_PAULOFFS_RIGHT = find_card(37, "Pauloff's Right") @@ -2637,6 +2641,13 @@ function update_attack1(direct) { } } + if (game.scenario === S36_PHARSALUS) { + if (game.selected === S36_SULLA) { + if (is_card_in_play(S36_FOURTH_LINE)) + game.hits += 1 + } + } + if (game.scenario === S37_INKERMAN) { // Until the first Fog Cube is lifted. if (get_cubes(S37_THE_FOG) === 3) { -- cgit v1.2.3