forked from ajott/ajott.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquick.html
218 lines (209 loc) · 8.74 KB
/
quick.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!doctype HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="interface.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="main.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body style="padding-top: 25px;">
<div class="w3-top">
<div class="w3-bar w3-dark-grey w3-card-4">
<a class="w3-bar-item w3-button" href="https://ajott.github.io/dh2chargen">Dark Heresy 2e Character Creator</a>
<a class="w3-bar-item w3-right w3-button w3-pale-yellow" href="https://ajott.github.io/quickref">DH 2e Quick
Reference</a>
</div>
</div>
<div class="w3-container">
<div class="w3-third">
<br />
<select id="homeworld" onchange="homeChange()">
<option value="none">Homeworld ...</option>
<option value="feral">Feral World</option>
<option value="forge">Forge World</option>
<option value="highborn">Highborn</option>
<option value="hive">Hive World</option>
<option value="shrine">Shrine World</option>
<option value="voidborn">Voidborn</option>
</select>
<br />
<br />
<select id="background" onchange="backChange()">
<option value="none">Background ...</option>
<option value="admin">Adeptus Administratum</option>
<option value="arbite">Adeptus Arbites</option>
<option value="astra">Adeptus Astra Telepathica</option>
<option value="admech">Adeptus Mechanicus</option>
<option value="ministorum">Adeptus Ministorum</option>
<option value="guard">Imperial Guard</option>
<option value="outcast">Outcast</option>
</select>
<br />
<br />
<select id="role" onchange="roleChange()">
<option value="none">Role ...</option>
<option value="assassin">Assassin</option>
<option value="chirurgeon">Chirurgeon</option>
<option value="desperado">Desperado</option>
<option value="hierophant">Hierophant</option>
<option value="mystic">Mystic</option>
<option value="sage">Sage</option>
<option value="seeker">Seeker</option>
<option value="warrior">Warrior</option>
</select>
<br />
<br />
<button onclick="rollChars()" class="w3-button w3-round w3-light-grey">Roll Characteristics</button>
<p style="font-size: 0.9em">The lowest possible characteristic roll is a 22; the highest is 40. <br />
A green highlight indicates you get advantage on the characteristic roll, red indicates disadvantage.
<br />
You may re-roll one stat of your choosing.</p>
<table style="font-size: 0.9em">
<tr>
<td class="charLbl" id="WSLbl">Weapon Skill</td>
<td id="WS"></td>
<td><button style="visibility: hidden" id="WSbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('WS')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="BSLbl">Ballistic Skill</td>
<td id="BS"></td>
<td><button style="visibility: hidden" id="BSbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('BS')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="SLbl">Strength</td>
<td id="S"></td>
<td><button style="visibility: hidden" id="Sbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('S')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="TLbl">Toughness</td>
<td id="T"></td>
<td><button style="visibility: hidden" id="Tbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('T')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="AgLbl">Agility</td>
<td id="Ag"></td>
<td><button style="visibility: hidden" id="Agbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('Ag')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="IntLbl">Intelligence</td>
<td id="Int"></td>
<td><button style="visibility: hidden" id="Intbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('Int')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="PerLbl">Perception</td>
<td id="Per"></td>
<td><button style="visibility: hidden" id="Perbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('Per')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="WPLbl">Willpower</td>
<td id="WP"></td>
<td><button style="visibility: hidden" id="WPbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('WP')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="FelLbl">Fellowship</td>
<td id="Fel"></td>
<td><button style="visibility: hidden" id="Felbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('Fel')">Reroll</button></td>
</tr>
<tr>
<td class="charLbl" id="InflLbl">Influence</td>
<td id="Infl"></td>
<td><button style="visibility: hidden" id="Inflbtn" class="reroll w3-button w3-round w3-light-grey"
onclick="reRollChar('Infl')">Reroll</button></td>
</tr>
</table>
</div>
<div class="w3-third" style="padding-left: 50px;">
<br />
Wounds:
<br />
<span id="wounds"></span>
<br />
<br />
Fate Points:
<br />
<span id="fate"></span>
<br />
<br />
Fatigue Threshold:
<br />
<span id="fatigue"></span>
<br />
<br />
Movement:
<br />
<table>
<tr>
<td>Half</td>
<td id="halfMove"></td>
</tr>
<tr>
<td>Full</td>
<td id="fullMove"></td>
</tr>
<tr>
<td>Charge</td>
<td id="chargeMove"></td>
</tr>
<tr>
<td>Run</td>
<td id="runMove"></td>
</tr>
</table>
<br />
Carry Weight: <span id="carryWeight"></span>kg
<br />
<br />
Experience: 1,000
<br />
<br />
Aptitudes:
<br />
<table class="">
<tbody id="aptTable">
</tbody>
</table>
</div>
<div class="w3-third">
<br />
Talents
<table class="w3-table-all w3-small">
<tbody id="talents">
</tbody>
</table>
<br />
Equipment
<table class="w3-table-all w3-small">
<tbody id="equip">
</tbody>
</table>
<br />
Bonuses
<table class="w3-table-all w3-small">
<tbody id="bonus">
</tbody>
</table>
</div>
</div>
</body>
<footer>
<script type="text/javascript">
function resetBoxes() {
document.getElementById("homeworld").value = "none"
document.getElementById("background").value = "none"
document.getElementById("role").value = "none"
};
window.onload = resetBoxes();
</script>
</footer>
</html>