From 765ee0358f26152baf84d44e827ae6b4bd059968 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 1 May 2024 00:47:00 +0200 Subject: II.Y rule for foreign haven in II as well --- rules.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rules.ts b/rules.ts index 91caaca..792daf6 100644 --- a/rules.ts +++ b/rules.ts @@ -7955,7 +7955,7 @@ states.death_check = { if (set_has(game.battle.fled, game.who)) { if (die >= 5) { logi("L" + game.who + " 5-6 B" + die) - remove_lord(game.who) + kill_lord(game.who) } else { logi("L" + game.who + " 5-6 W" + die) disband_lord(game.who) @@ -7963,7 +7963,7 @@ states.death_check = { } else { if (die >= 3) { logi("L" + game.who + " 3-6 B" + die) - remove_lord(game.who) + kill_lord(game.who) } else { logi("L" + game.who + " 3-6 W" + die) disband_lord(game.who) @@ -7984,6 +7984,14 @@ states.death_check = { card: action_held_event_at_death_check, } +function kill_lord(lord: Lord) { + if (game.scenario === SCENARIO_II) { + if (lord === LORD_WARWICK_L && game.battle.attacker === YORK) + foreign_haven_shift_lords() + } + remove_lord(lord) +} + // === DEATH CHECK CAPABILITY: BLOODY THOU ART === function is_bloody_thou_art_triggered() { -- cgit v1.2.3