summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-25 21:49:20 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit45c9ce98ad083ba603ae8a46826dc194d37df5b6 (patch)
tree5f3efc17bfeb985ad749e018492e9178d3c27717
parent1ceaeb49d886c35a70e8145995efed5b6ea45dac (diff)
downloadfriedrich-45c9ce98ad083ba603ae8a46826dc194d37df5b6.tar.gz
fix reserve range
-rw-r--r--play.js1
-rw-r--r--rules.js2
2 files changed, 2 insertions, 1 deletions
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)
}
}