From c62755e12f7b3634d1c281b6b030aa699ce9e428 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 13 Apr 2024 23:31:44 +0200 Subject: Enable playing Flank Attack events. --- rules.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 2b6a767..c15711d 100644 --- a/rules.js +++ b/rules.js @@ -6414,9 +6414,7 @@ states.intercept = { view.prompt = `Choose lord to intercept moving lords?` let to = get_lord_locale(game.command) - // TODO : FLANK ATTACK through the held intercept - // or held event but with more conditions (for example state = "intercept") - // prompt_held_event_intercept() + prompt_held_event_intercept() if (game.who === NOBODY) { for (let next of data.locales[to].not_paths) @@ -6446,6 +6444,10 @@ states.intercept = { set_toggle(game.intercept_group, lord) } }, + card(c) { + push_undo() + play_held_event(c) + }, pass() { set_active_enemy() end_intercept() -- cgit v1.2.3