From 1f09eedb6aa590afb310cf215f75bf7a4418ee88 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 6 May 2024 19:27:05 +0200 Subject: fix dorset event --- rules.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rules.ts') diff --git a/rules.ts b/rules.ts index c580ca4..4204a70 100644 --- a/rules.ts +++ b/rules.ts @@ -4725,8 +4725,6 @@ function fail_tax(who: Lord) { // === 4.6.4 ACTION: PARLEY === function has_free_parley_levy() { - if (game.command === LORD_DEVON && get_lord_locale(LORD_DEVON) === LOC_EXETER && is_event_in_play(EVENT_YORK_DORSET)) - return true if (game.levy_flags.jack_cade > 0) return true if (game.levy_flags.my_crown_is_in_my_heart > 0) @@ -4926,10 +4924,7 @@ function end_parley(success: boolean) { // Track use of parley capabilities / events. if (is_levy_phase()) { - if (game.command === LORD_DEVON && get_lord_locale(LORD_DEVON) === LOC_EXETER && is_event_in_play(EVENT_YORK_DORSET)) { - logevent(EVENT_YORK_DORSET) - ++game.actions - } else if (game.levy_flags.jack_cade > 0) { + if (game.levy_flags.jack_cade > 0) { // Jack Cade: free action, zero influence cost, and success logevent(EVENT_YORK_JACK_CADE) --game.levy_flags.jack_cade -- cgit v1.2.3