From 45c9ce98ad083ba603ae8a46826dc194d37df5b6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 25 May 2024 21:49:20 +0200 Subject: fix reserve range --- play.js | 1 + rules.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/play.js b/play.js index a2b93f6..561fb0f 100644 --- a/play.js +++ b/play.js @@ -5,6 +5,7 @@ // TODO: sort selected generals above deselected generals when detaching? // TODO: show battle icon overlay (instead of roads) // TODO: remove roads and path highlighting code +// TODO: tooltips const svgNS = "http://www.w3.org/2000/svg" diff --git a/rules.js b/rules.js index 4e69bee..4461601 100644 --- a/rules.js +++ b/rules.js @@ -2493,7 +2493,7 @@ function gen_play_reserve() { view.actions.value.push(10) } else { let bonus = fate_card_bonus() - for (let i = 0; i <= 10; ++i) + for (let i = 1; i <= 10; ++i) view.actions.value.push(i + bonus) } } -- cgit v1.2.3