From 2a423bb8e5becc1ae921f2fee0bfa92364adba94 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 30 Apr 2024 20:47:17 +0200 Subject: influence check roll rating --- rules.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rules.ts b/rules.ts index f1f71da..ceaa918 100644 --- a/rules.ts +++ b/rules.ts @@ -995,7 +995,6 @@ function is_active_command() { return game.active === LANCASTER } - // === STATE: TURN === function current_turn() { @@ -2093,8 +2092,7 @@ function roll_influence_check(lord: Lord, spend: number, calc=common_ic) { log(`Influence success`) return true } else { - let rating = Math.max(1, Math.min(5, calc.rating(lord, 0))) - + let rating = Math.max(1, Math.min(5, calc.rating(lord, spend))) let die = roll_die() if (die <= rating) { @@ -9344,7 +9342,6 @@ exports.setup = function (seed, scenario, options) { favoury: [], }, - actions: 0, command: NOBODY, who: NOBODY, @@ -12222,7 +12219,6 @@ states.sun_in_splendour_now = { }, } - // === HELD EVENT: ASPIELLES === function can_play_l_aspielles() { -- cgit v1.2.3