-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
74 lines (69 loc) · 2.37 KB
/
calculator.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Black Sands Character Calculator</title>
<link rel="stylesheet" href="calculator.css">
<script src="data.js"></script>
<script src="calculator.js"></script>
</head>
<body onload="on_load()">
<form id="char_calc">
<div>
<table id="points">
<!-- <tr><th>Alloted Points</th>
<td>
<input type="range" min="0" max="200" value="100" id="alloted_slider" oninput="update_alloted(alloted_num, this)"><br/>
<input type="number" min="0" max="200" value="100" id="alloted_num" oninput="update_alloted(alloted_slider, this)"/>
</td>
</tr>
<tr><th>Available Points</th> <td><output id="available_points">100</output></td></tr> -->
<tr><th>Total Point Cost</th> <td><output id="point_total">0</output></td></tr>
<tr>
<th>Race</th>
<td>
<select name="Race" id="race_list" oninput="update_race()">
<optgroup label="Base races" id="race_options">
</optgroup>
<optgroup label="Variant races" id="variant_options">
</optgroup>
</select>
</td>
</tr>
</table>
<!-- <table id="costs">
<tr><th>Background Cost</th><td><input type="number" value="0" id="exp_hr" oninput="update_cost_hr()"/></td></tr>
<tr><th>Advantage Cost</th><td><input type="number" value="0" id="exp_hr" oninput="update_cost_hr()"/></td></tr>
<tr><th>Disadvantage credit</th><td><input type="number" value="0" id="exp_hr" oninput="update_cost_hr()"/></td></tr>
</table> -->
<hr/>
<table id="talents">
<colgroup>
<col span="3">
<col id="float_col">
</colgroup>
<thead>
<tr><th>Talent</th><th>Total</th><th>Natural</th><th id="float_header">Floating</th><th>Ranks</th><th>Points</th></tr>
</thead>
<tbody id="talent_list">
</tbody>
</table>
</div>
<hr/>
<div class="container">
<table id="skills">
<thead>
<tr><th>Skill</th><th>Ranks</th><th>Points</th><th>Background Bonus</th></tr>
</thead>
<tbody id="skill_list">
</tbody>
</table>
<table>
<tr><th>Background Cost</th><td><input type="number" min="0" value="0" id="background_cost" oninput="update_point_total()"/></td></tr>
</table>
</div>
<button type="reset" onclick="reset_calc()">Reset</button>
<button type="button" onclick="del_save()">Delete saved data</button>
</form>
</body>
</html>