summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-25 23:24:17 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commita2d8f09c71c67507f1761e29f084571fb059d819 (patch)
tree38228bbd97d6d1d2abafc636778ac274f2463a07
parent45c9ce98ad083ba603ae8a46826dc194d37df5b6 (diff)
downloadfriedrich-a2d8f09c71c67507f1761e29f084571fb059d819.tar.gz
no TC of value 10 or more for reserves too
-rw-r--r--rules.js7
1 files 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)
}
}