summaryrefslogtreecommitdiff
path: root/create.html
blob: 963a647cae6ca59ac785391ec1407a646c10a84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<dl>
<dt><a href="/hammer-of-the-scots/info/rules.html#page7">Braveheart</a>
<dd>1297 through 1305.
<dt><a href="/hammer-of-the-scots/info/rules.html#page7">The Bruce</a>
<dd>1306 through 1314.
<dt><a href="/hammer-of-the-scots/info/rules.html#page8">Campaign</a>
<dd>Start as per Braveheart but is played until one player achieves victory.
</dl>

<dl>
<dt>
<label>
<input type="checkbox" id="schiltroms" name="schiltroms" value="true">
Schiltroms
<dd>
Scottish infantry fire at +1 when the English have no archers.
</label>
</dl>

<dl>
<dt>
<label>
<input type="checkbox" id="delay_hits" name="delay_hits" value="true">
Delay hit assignment
</label>
<dd>Let all blocks with the same initiative fire before assigning hits.
<dd>This option is recommended for games that are not played live.

<dt>
<label>
<input type="checkbox" id="autohit" name="autohit" value="true">
Automatically assign hits when possible.
</label>
<dd>
<i class="warning" id="warning"></i>
</dl>

<script>
let cb1 = document.getElementById("autohit")
let cb2 = document.getElementById("delay_hits")
let msg = document.getElementById("warning")
function warn_opts() {
	if (cb1.checked)
		msg.textContent = "Tip: Delay hit assignment is a better option for async play."
	else
		msg.textContent = ""
}
cb1.onchange = function () { if (cb1.checked) cb2.checked = false; warn_opts() }
cb2.onchange = function () { if (cb2.checked) cb1.checked = false; warn_opts() }
</script>