-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (162 loc) · 7.87 KB
/
index.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
<html>
<head>
<title>Wolf summoner DPS calculator</title>
<link rel="icon" type="image/x-icon" href="https://icons.iconarchive.com/icons/iconarchive/plastic-toys/32/Plastic-Wolf-Toy-icon.png">
<link rel="stylesheet" href="index.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
</head>
<body>
<div class="title-bg">
<h1>Wolf summoner DPS calculator</h1>
</div>
<div class="container">
<div class="section-container">
<div class="stat-screen-section">
<h3>Stats</h3>
<div class="single-entry">
<label for="dmg-input">Damage</label><input type="number" id="dmg-input" value="420" />
</div>
<div class="single-entry">
<label for="as-input">Attack speed, %</label><input type="number" id="as-input" value="100" />
</div>
<div class="single-entry">
<label for="critchance-input">Crit chance, %</label
><input type="number" id="critchance-input" value="5" max="100" />
</div>
<div class="single-entry">
<label for="critdmg-input">Crit damage, %</label
><input type="number" id="critdmg-input" value="170" />
</div>
<div class="single-entry">
<label for="frostdmg-input">Frost damage, %</label
><input type="number" id="frostdmg-input" value="100" />
</div>
<div class="single-entry">
<label for="companiondmg-input">Companion damage, %</label
><input type="number" id="companiondmg-input" value="100" />
</div>
<div class="single-entry">
<label for="cdr-input">Cooldown reduction, %</label
><input type="number" id="cdr-input" value="0" />
</div>
</div>
<div id="item-section">
<h3>Items</h3>
<div class="single-entry">
<label class="checkbox-label" for="item-bloodscent" title="todo stats">Bloodscent</label
><input type="checkbox" id="item-bloodscent" />
</div>
<div class="single-entry">
<label
class="checkbox-label"
for="item-masters"
title="Special attacks aren't accounted for. Yet."
>Master's Command</label
><input type="checkbox" id="item-masters" />
</div>
<div class="single-entry">
<label
class="checkbox-label"
for="item-wolf-tooth"
title="Bleed damage isn't accounted for. Yet."
>Wolf Tooth Necklace</label
><input type="checkbox" id="item-wolf-tooth" />
</div>
<div class="single-entry">
<label class="checkbox-label" for="item-packleader">Packleader</label
><input type="checkbox" id="item-packleader" />
</div>
<div class="single-entry">
<label class="checkbox-label" for="item-wolfcaster">Wolfcaster</label
><input type="checkbox" id="item-wolfcaster" />
</div>
<div class="single-entry">
<label class="checkbox-label" for="item-call">Call of the Wild</label
><input type="checkbox" id="item-call" />
</div>
</div>
<div class="misc-section">
<h3>Misc</h3>
<select id="wolf-lvl">
<option value="1">Wolfpack level 1</option>
<option value="2">Wolfpack level 2</option>
<option value="3">Wolfpack level 3</option>
<option value="4">Wolfpack level 4</option>
<option value="5">Wolfpack level 5</option>
<option value="6">Wolfpack level 6</option>
</select>
<div class="single-entry">
<label class="checkbox-label" for="master-tamer">Master Tamer</label
><input type="checkbox" id="master-tamer" />
</div>
<br /><br />
<button id="select-all-btn">Select all items</button>
<button id="reset-btn">Reset</button>
<button id="load-btn" title="Use Jabarton's character stats as of 14.01.2023">Load</button>
</div>
</div>
<div class="section-container" id="calced-stats-container">
<div id="calced-stats-section">
<h3>Calculated stats</h3>
<table>
<tr>
<td>Wolf attack time, frames</td>
<td id="attack-frames-calc"></td>
</tr>
<tr>
<td>Wolf attack cooldown, frames</td>
<td id="attack-cd-calc"></td>
</tr>
<tr>
<td>Wolf attacks per second</td>
<td id="aps-calc"></td>
</tr>
<tr>
<td>How to get next breakpoint</td>
<td id="next-bp-calc"></td>
</tr>
<tr>
<td>Crit effect modifier</td>
<td id="crit-mod-calc"></td>
</tr>
<tr>
<td>Wolves total</td>
<td id="wolf-count-calc"></td>
</tr>
<tr>
<td>Wolfpack %frost dmg</td>
<td id="wolfpack-p-dmg-calc"></td>
</tr>
<tr class="wolfcaster-stats">
<td>Ice Shard %frost dmg</td>
<td id="iceshard-p-dmg-calc"></td>
</tr>
<tr class="wolfcaster-stats">
<td>Ice Shard damage</td>
<td id="iceshard-dmg-calc"></td>
</tr>
<tr>
<td>Average wolf damage</td>
<td id="wolf-avg-dmg-calc"></td>
</tr>
<tr>
<td>Wolf damage on crit</td>
<td id="wolf-crit-dmg-calc"></td>
</tr>
<tr>
<td>One wolf DPS</td>
<td id="wolf-dps-calc"></td>
</tr>
<tr>
<td>All wolves DPS</td>
<td id="wolves-dps-calc"></td>
</tr>
</table>
</div>
</div>
</div>
<script type="module" src="index.js"></script>
</body>
</html>