summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts6
1 files changed, 1 insertions, 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() {