From f4fcc3f927412c4a89b032a99db07019a9b63749 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 5 May 2024 15:01:22 +0200 Subject: favicons --- rules.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'rules.ts') diff --git a/rules.ts b/rules.ts index ef7bb29..8ca0bd1 100644 --- a/rules.ts +++ b/rules.ts @@ -271,9 +271,8 @@ interface View { actions: any, log: string[], - end: number, + scenario: number, turn: number, - victory_check: number, influence: number, events: Card[], @@ -10022,7 +10021,6 @@ function setup_ItoIII() { set_flag(FLAG_REBEL_IS_YORK) game.active = YORK - game.victory_check = 45 game.influence = 0 muster_lord(LORD_YORK, LOC_ELY) muster_lord(LORD_MARCH, LOC_LUDLOW) @@ -10071,7 +10069,6 @@ function setup_II_Y() { game.scenario = "IIY. The Kingmaker" clear_flag(FLAG_REBEL_IS_YORK) game.active = LANCASTER - game.victory_check = 45 game.influence = 0 for (let lord of all_lords) { @@ -10194,7 +10191,6 @@ function setup_II_L() { game.scenario = "IIL. Lancastrian Legitimacy Fades" set_flag(FLAG_REBEL_IS_YORK) game.active = YORK - game.victory_check = 40 game.influence = 0 for (let lord of all_lords) { @@ -10323,7 +10319,6 @@ function setup_III_Y() { game.scenario = "IIIY. New Rivals" clear_flag(FLAG_REBEL_IS_YORK) game.active = LANCASTER - game.victory_check = 45 game.influence = 0 if (!is_lord_in_play(LORD_YORK)) { @@ -10520,7 +10515,6 @@ function setup_III_L() { game.scenario = "IIIL. Yorkists Last Stand" set_flag(FLAG_REBEL_IS_YORK) game.active = YORK - game.victory_check = 45 game.influence = 0 if (!is_lord_in_play(LORD_YORK)) { @@ -12912,9 +12906,8 @@ exports.view = function (state, current) { log: game.log, reveal: 0, - end: scenario_end_marker[game.scenario], + scenario: game.scenario, turn: game.turn, - victory_check: scenario_victory_threshold(), influence: game.influence, events: game.events, -- cgit v1.2.3