diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-30 20:47:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-30 20:47:17 +0200 |
commit | 2a423bb8e5becc1ae921f2fee0bfa92364adba94 (patch) | |
tree | d0a69cb9c34c753fa93bc2e4b76302802c88066b | |
parent | 0a7da42b1ddf1b03514cc2d6cccbc825dad2d6c3 (diff) | |
download | plantagenet-2a423bb8e5becc1ae921f2fee0bfa92364adba94.tar.gz |
influence check roll rating
-rw-r--r-- | rules.ts | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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() { |