-
Notifications
You must be signed in to change notification settings - Fork 121
/
akdamage.html
335 lines (331 loc) · 20.8 KB
/
akdamage.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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=2, user-scalable=yes'>
<meta name='theme-color' content='#222222ff'>
<title translate-id='web-title'>Arknights Damage Calculator</title>
<link rel='manifest' href='./manifest.json' crossorigin='use-credentials'>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<link rel='stylesheet' href='css/ak.css'>
<link rel='stylesheet' href='css/jquery.btnswitch.css'>
<link href='https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css' rel='stylesheet'>
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js'></script>
<script src='js/jquery.btnswitch.js'></script>
<script src='js/akdamage.js'></script>
<!-- site tag (gtag.js) - Google Analytics -->
<script async src='https://www.googletagmanager.com/gtag/js?id=UA-159317757-1'></script>/
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-159317757-1');
</script>
<link rel='stylesheet' href='css/akdamage.css'>
</head>
<body >
<div id="loadingOverlay" style="width: 100vw; height: 150%; background-color: #111111; position: absolute; z-index: 9999; top:0px;">
<div class="d-flex justify-content-center" style="margin-top: 50vh">
<div class="spinner-border" role="status" style="border-color: #0098DC; border-right-color: transparent; width: 4rem; height: 4rem;">
</div>
</div>
<div style="width: 100%; text-align: center; margin-top: 13px;">
<div class='loadtext'>Loading Toolbox</div>
<div></div>
<div class="loadforce" onclick="hideload()"><a>Click here if stuck on loading</a></div>
</div>
</div>
<script>
$(function(){
$('#nav-placeholder').load('nav.html');
});
$(window).on("load", function () {
setTimeout(function () {
$("#loadingOverlay").fadeOut();
}, 1000);
});
</script>
<!-- style=' background-image: url(./img/extra/bg1.png)' -->
<button class='btn btn-sm btn-primary goToTag' style='position:fixed;bottom:15px ;right: 0px;size:70px 70px;padding: 10px;z-index: 10000' id='to-tag' type='button'>^ </button>
<nav id='aknav' class='navbar fixed-top navbar-expand-lg navbar-dark bg-dark' style='background-image: linear-gradient(#222222ff 70%,#222222ff , #111111aa );'>
<img src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/factions/logo_rhodes.png' width='40' height='40' style='transform:scale(1.2,1.2)translate(-8px,1px)'class='d-inline-block align-top' alt=''>
<a class='navbar-brand' href='#' translate-id='topbar-1'>Arknights Toolbox</a>
<button class='navbar-toggler' type='button' data-toggle='collapse' data-target='#navbarNav'
aria-controls='navbarNav' aria-expanded='false' aria-label='展开'>
<span class='navbar-toggler-icon'></span>
</button>
</nav>
<div class='contents' style="padding-top: 50px; overflow-x: auto;">
<div style='min-width: 740px;' class='d-flex justify-content-center'>
<div class='d-flex justify-content-end' style="padding-bottom: 20px;">
<div id='opcontainer' class='ak-container ak-shadow' style='margin-right: 20px;'>
<div class='ak-shadow top-panel'>
<div>
<button type='button' data-toggle='modal' data-target='#opchoosemodal' class='mx-auto d-block btn btn-primary' id='selectoperatorbtn' style='height: 30px; line-height: 0.5; width: 80%; margin-top: 5px;'>
Select Operator
</button>
</div>
<div id="hideable1" style=''>
<div class='op-image' style='display: inline-block;'>
<img id='opimage' src=''>
</div>
<div class='op-desc'>
<div id='opname' class='ak-font-novecento'></div>
<ul class="nav nav-pills" id='eliteSelections'>
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="">Elite 0</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="">Elite 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="">Elite 2</a>
</li>
</ul>
</div>
<div class="op-data" style="margin-left: 0px; padding-top: 10px;">
<div class='level-slider' style="display: flex;">
<div style="padding: unset;min-width: 40px;">
<span class='stat-level-header' style=''>Lv</span>
</div>
<div class="levelSlider" style="padding: unset; flex: 1;">
<input type='range' value='1' min='1' max='90' name='levelStats' id='levelSlider' class='statlevelInput' oninput='changeLevel(this.value)'></input>
</div>
<div class="levelDisplay" style="margin-right: 2px;">
<div class='form-group stat-input' style='display:inline-block;vertical-align:middle; margin-bottom: 10px;'><input class='form-control' id='levelDisplay' style='line-height:1.1;' type='number' value='1' min='1' max='90' onchange='changeLevel(this.value)'></div>
</div>
</div>
</div>
</div>
</div>
<div class='bottom-panel' style='height: 500px;'>
<div>
<div class='ak-header'>
Stats
</div>
<div style='display: flex; flex-wrap: wrap;'>
<div class='ak-stats'>
<div class='ak-stats-l'>Maximum HP</div>
<div class='ak-stats-r' id='opstats-maxHp'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Redeploy Time</div>
<div class='ak-stats-r'><div id='opstats-respawnTime'>70</div> Sec</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Attack Power</div>
<div class='ak-stats-r' id='opstats-atk'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Cost</div>
<div class='ak-stats-r' id='opstats-cost'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Defense</div>
<div class='ak-stats-r' id='opstats-def'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Block</div>
<div class='ak-stats-r' id='opstats-blockCnt'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Magic Res</div>
<div class='ak-stats-r' id='opstats-magicResistance'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Attack Time</div>
<div class='ak-stats-r'><div id='opstats-baseAttackTime'>1.1</div> Sec</div>
</div>
</div>
</div>
<div>
<div class='ak-header'>
Calculations
</div>
<div>
<div class='ak-stats-l'>Raw DPS</div>
<div class='ak-stats-r' id='calcs-oprawDPS'>999</div>
<div class='ak-stats-l'>DPS on Enemy</div>
<div class='ak-stats-r' id='calcs-opDPS'>999</div>
<div class='ak-stats-l'>Can kill the Enemy in (Secs)</div>
<div class='ak-stats-r'><div id='calcs-enkilltime'>1.1</div> Seconds</div>
<div class='ak-stats-l'>Damage per Hits</div>
<div class='ak-stats-r' id='calcs-opDPH'>999</div>
<div class='ak-stats-l'>Can kill the Enemy in (Hits)</div>
<div class='ak-stats-r'><div id='calcs-enkillhits'>1.1</div> Hits</div>
</div>
</div>
</div>
</div>
</div>
<div class='d-flex justify-content-start' style="padding-bottom: 20px;">
<div id='enemycontainer' class='ak-container ak-shadow'>
<div class='ak-shadow top-panel'>
<div>
<button type='button' data-toggle='modal' data-target='#enchoosemodal' class='mx-auto d-block btn btn-primary' id='selectenemybtn' onclick='populateEnemyList()' style='height: 30px; line-height: 0.5; width: 80%; margin-top: 5px;'>
Select Enemy
</button>
</div>
<div class='op-image' style="display: inline-block;">
<img id='enimage' src=''>
</div>
<div class='op-desc'>
<div id='enname' class='ak-font-novecento' style='font-size: 1.2em;'></div>
</div>
<div class="op-data" style="margin-left: 0px; padding-top: 19px;">
</div>
</div>
<div class='bottom-panel' style='height: 500px;'>
<div>
<div class='ak-header'>
Stats
</div>
<div style='display: flex; flex-wrap: wrap;'>
<div class='ak-stats'>
<div class='ak-stats-l'>Maximum HP</div>
<div class='ak-stats-r' id='enstats-maxHp'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Attack Power</div>
<div class='ak-stats-r' id='enstats-atk'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Defense</div>
<div class='ak-stats-r' id='enstats-def'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Magic Res</div>
<div class='ak-stats-r' id='enstats-magicResistance'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Move Speed</div>
<div class='ak-stats-r' id='enstats-moveSpeed'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Attack Time</div>
<div class='ak-stats-r'><div id='enstats-baseAttackTime'>1.1</div> Sec</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>HP Recovery</div>
<div class='ak-stats-r'><div id='enstats-hpRecoveryPerSec'>1.1</div>/Sec</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Weight Level</div>
<div class='ak-stats-r' id='enstats-massLevel'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Stun Immune</div>
<div class='ak-stats-r' id='enstats-stunImmune'>999</div>
</div>
<div class='ak-stats'>
<div class='ak-stats-l'>Attack Range</div>
<div class='ak-stats-r'><div id='enstats-rangeRadius'>1.1</div> Tile(s)</div>
</div>
</div>
</div>
<div>
<div class='ak-header'>
Calculations
</div>
<div>
<div class='ak-stats-l'>Raw DPS</div>
<div class='ak-stats-r' id='calcs-enrawDPS'>999</div>
<div class='ak-stats-l'>DPS on the Operator</div>
<div class='ak-stats-r' id='calcs-enDPS'>999</div>
<div class='ak-stats-l'>Can kill the Operator in (Secs)</div>
<div class='ak-stats-r'><div id='calcs-opkilltime'>1.1</div> Seconds</div>
<div class='ak-stats-l'>Damage per Hit</div>
<div class='ak-stats-r' id='calcs-enDPH'>999</div>
<div class='ak-stats-l'>Can kill the Operator in (Hits)</div>
<div class='ak-stats-r'><div id='calcs-opkillhits'>1.1</div> Hits</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id='opchoosemodal' class='modal fade' role='dialog'>
<div class='modal-dialog'>
<div class='modal-content' style='background-color: #444'>
<div class='modal-header' style='border-bottom: 1px solid #4f4f4f'>
<h6 class='modal-title' style='color:white; font-weight: bold;'>Select Operator</h6>
<button type='button' style='color:white;' class='close' data-dismiss='modal'>×</button>
</div>
<div class='modal-body'>
<ul class='nav nav-pills nav-justified' id='classlist'>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#casterops' data-opclass='CASTER'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_caster.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#guardops' data-opclass='WARRIOR'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_guard.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#medicops' data-opclass='MEDIC'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_medic.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#sniperops' data-opclass='SNIPER'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_sniper.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#specialistops' data-opclass='SPECIAL'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_specialist.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#supportops' data-opclass='SUPPORT'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_supporter.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#tankops' data-opclass='TANK'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_defender.png'>
</a>
</li>
<li class='nav-item'>
<a class='nav-link' data-toggle='tab' href='#vanguardops' data-opclass='PIONEER'>
<img width='50' src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/classes/class_vanguard.png'>
</a>
</li>
</ul>
<div class='tab-content'>
<ul id='selectedopclass' style='padding-left: 0px;margin: auto;padding: auto;'>
<!-- Operators of the selected class goes here -->
<!--
<li class='selectop-list ak-shadow'>
<img src='https://raw.githubusercontent.com/Aceship/Arknight-Images/main/avatars/char_002_amiya_1.png'>
<div class='name ak-font-novecento'>Amiya</div>
<div class='rarity'><i class='fa fa-star'></i></div>
</li> -->
</ul>
</div>
</div>
</div>
</div>
</div> <!-- class='modal' -->
<div id='enchoosemodal' class='modal fade' role='dialog'>
<div class='modal-dialog' style='width: 100vw; max-width: 687px;'>
<div class='modal-content' style='background-color: #444'>
<div class='modal-header' style='border-bottom: 1px solid #4f4f4f'>
<h6 class='modal-title' style='color:white; font-weight: bold;'>Select Enemy</h6>
<button type='button' style='color:white;' class='close' data-dismiss='modal'>×</button>
</div>
<div class='modal-body' id='enemyList'>
</div>
</div>
</div>
</div> <!-- class='modal' -->
</div> <!-- class='contents' -->
</body>
<script src='js/everpolate.min.js'></script>
<script src='./js/aknav.js'></script>
</html>