summaryrefslogtreecommitdiff
path: root/create.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-05 14:06:07 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:18 +0100
commit67beb5feb4b7454692b9e4511d060fea0f35c445 (patch)
tree38aa086b9ffc971191373f87139f272533b8c8ee /create.html
parenta99a00ffd7cd22f3344e64a7436f91216d547d72 (diff)
downloadhammer-of-the-scots-67beb5feb4b7454692b9e4511d060fea0f35c445.tar.gz
Delayed hit option.
Diffstat (limited to 'create.html')
-rw-r--r--create.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/create.html b/create.html
index 6c38f65..8244612 100644
--- a/create.html
+++ b/create.html
@@ -8,6 +8,18 @@
</dl>
<p>
-<label><input type="checkbox" name="autohit" value="true">
-Automatically apply combat hits when possible.
+<label><input type="checkbox" id="delay_hits" name="delay_hits" value="true">
+Fire with all blocks before assigning hits.
</label>
+
+<br>
+<label><input type="checkbox" id="autohit" name="autohit" value="true">
+Automatically assign hits when possible.
+</label>
+
+<script>
+let cb1 = document.getElementById("autohit")
+let cb2 = document.getElementById("delay_hits")
+cb1.onchange = function () { if (cb1.checked) cb2.checked = false }
+cb2.onchange = function () { if (cb2.checked) cb1.checked = false }
+</script>