diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-01 21:25:14 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-01 21:25:14 +0200 |
commit | b1d3cbf7f2ce51260650b44eb03a922b61d8f64e (patch) | |
tree | da2d91716400ea69e3bfe3ea38f26097e1b356df /rules.ts | |
parent | 762f9dbd6e0e81623456f35342961b1783b9f3f3 (diff) | |
download | plantagenet-b1d3cbf7f2ce51260650b44eb03a922b61d8f64e.tar.gz |
swift maneuver only for lancastrians
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -6582,10 +6582,6 @@ function is_leeward_battle_line_in_play(lord: Lord) { // === BATTLE EVENT: SWIFT MANEUVER === -function is_swift_maneuver_in_play() { - return is_event_in_play(EVENT_YORK_SWIFT_MANEUVER) -} - states.swift_maneuver_1 = { get inactive() { view.engaged = game.battle.engagements[0] @@ -7568,7 +7564,7 @@ function action_assign_hits(lord: Lord, type: Force, v=NOVASSAL) { rout_unit(lord, type, v) // Swift Maneuver event - if (is_swift_maneuver_in_play() && type === RETINUE) { + if (type === RETINUE && game.active === LANCASTER && is_event_in_play(EVENT_YORK_SWIFT_MANEUVER)) { if (game.battle.reroll) { game.state = "swift_maneuver_1" } else { |