From a2d8f09c71c67507f1761e29f084571fb059d819 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 May 2024 23:24:17 +0200 Subject: no TC of value 10 or more for reserves too --- rules.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 4461601..bdc7617 100644 --- a/rules.js +++ b/rules.js @@ -2280,7 +2280,7 @@ states.re_enter = { /* COMBAT */ function format_combat(value) { - return format_stack(game.attacker) + " vs " + format_stack(game.defender) + " at " + value + return format_stack(game.attacker) + " vs " + format_stack(game.defender) + " score " + value } function prompt_combat(value, extra = null) { @@ -2493,7 +2493,10 @@ function gen_play_reserve() { view.actions.value.push(10) } else { let bonus = fate_card_bonus() - for (let i = 1; i <= 10; ++i) + let max = 10 + if (forbid_play_value_10_or_more()) + max = 9 + for (let i = 1; i <= max; ++i) view.actions.value.push(i + bonus) } } -- cgit v1.2.3