diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-13 23:31:44 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-13 23:31:48 +0200 |
commit | c62755e12f7b3634d1c281b6b030aa699ce9e428 (patch) | |
tree | 1c330171e2efb2b2c43dbebb68941b8976181350 /rules.js | |
parent | fc2d86ac2f7364161777114109cd5971175d1190 (diff) | |
download | plantagenet-c62755e12f7b3634d1c281b6b030aa699ce9e428.tar.gz |
Enable playing Flank Attack events.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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() |