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