diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-10-05 23:52:44 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | 4c807553c0ff72844ba4d29c8ee3e591e6357d40 (patch) | |
tree | bfaf3646886075c7eb8d5d2f2933452831750cd3 /create.html | |
parent | 6f327defb9832c0ed2ca99570bba0b91ffd5a36e (diff) | |
download | julius-caesar-4c807553c0ff72844ba4d29c8ee3e591e6357d40.tar.gz |
Add delayed hit assignment option.
Diffstat (limited to 'create.html')
-rw-r--r-- | create.html | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/create.html b/create.html index 5a7fec9..7fb0407 100644 --- a/create.html +++ b/create.html @@ -35,6 +35,18 @@ House rules: --> <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> |