diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-25 23:24:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | a2d8f09c71c67507f1761e29f084571fb059d819 (patch) | |
tree | 38228bbd97d6d1d2abafc636778ac274f2463a07 | |
parent | 45c9ce98ad083ba603ae8a46826dc194d37df5b6 (diff) | |
download | friedrich-a2d8f09c71c67507f1761e29f084571fb059d819.tar.gz |
no TC of value 10 or more for reserves too
-rw-r--r-- | rules.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) } } |