This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
505 lines (455 loc) · 23.4 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
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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Jomhuria' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="./css/style.css">
<title>Conan Exiles Stat Calculator</title>
</head>
<body>
<div class="conan-stat-calculator">
<!-- Logo image credit to Funcom, https://www.conanexiles.com/ -->
<img class="conanimg" src="./images/logo.png" alt="logo" width="450" srcset="./images/logo.png 500w, ./images/logo-300x88.png 300w" sizes="(max-width: 500px) 100vw, 500px">
<h1 class="calc-title">Stat Calculator</h1>
<table class="calc-table">
<thead class="calc-thead">
<tr>
<th rowspan="3" colspan="3">
<div class="character-title">
<button class="stat-button level-down"> - </button>
Exile Level: <span class="character-level"></span>
<button class="stat-button level-up"> + </button>
<br>Unspent points: <span class="unspent-points"></span>
</div>
<button class="max-level">Maximum Level</button>
</th>
<th class="encumbrance-th">Encumbrance 0 / <span class="encumbrance-heading"></span></th>
<th class="player-stats" rowspan="3" colspan="1">Player Stats</th>
</tr>
<tr>
<th class="movement-penalty" colspan="1">Movement Penalty 0</th>
</tr>
<tr>
<th class="experience" colspan="1">Experience <span class="current-experience"></span></th>
</tr>
</thead>
<tbody class="calc-tbody">
<!-- Begin attribute rows -->
<!-- Strength attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div strength">
<div>
<img class="stat-icon" src="./images/strength-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Strength</span>
</div>
<span class="cost">
<span class="strength current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="strength-down stat-button"> - </button>
<button class="strength-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
<!-- continue attribute rows later after bonuses -->
<!-- Begin bonuses -->
<!-- Strength bonuses -->
<td class="bonuses hide strength active" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Strength</div>
<div class="bonus-description">Strength determines the damage that you do in melee.<br> </div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 strength" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 strength">Thuggery - Every blow you strike with a truncheon deals 100% more concussive damage.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 strength" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 strength">Salting the Wound - You now deal 25% increased damage to enemies affected by negative status effects (i.e cripple, bleed, sunder).
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 strength" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 strength">Slice and Dice - Each light attack you do inflicts 10% more damage.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 strength" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir4 strength">Brutal Strikes - Each heavy attack now inflicts 25% more damage.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 strength" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 strength">Blood-mad Berserker - Whenever your hitpoints fall below 25%, you deal 50% more melee damage.
</div>
</div>
</div>
<!-- Agility bonuses -->
<td class="bonuses hide agility" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Agility</div>
<div class="bonus-description">Agility is a measure of ability to move when wearing<br>different clothing types. It has a direct effect on armor.</div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 agility" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 agility">Iron Endurance - Sprinting drains less stamina.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 agility" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 agility">Cat-like - Falling damage is halved.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 agility" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 agility">Effortless Leap - Jumping no longer costs stamina.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 agility" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 agility">Nimble Tumbler - When dodging, your armor counts as one weight-class lower than normal.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 agility" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 agility">Extended Leap - Jump while in the air to do a second jump.
</div>
</div>
</div>
<!-- Vitality bonuses -->
<td class="bonuses hide vitality" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Vitality</div>
<div class="bonus-description">Vitality determines the size of your health pool.<br> </div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 vitality" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 vitality">Deep Beath - Your breath timer is doubled.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 vitality" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 vitality">Impervious - All temperature effects are diminished.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 vitality" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 vitality">Fierce Vitality - You gain passive health regeneration.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 vitality" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 vitality">Receptive - Increases the healing effect of consumables and dancers by 100%.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 vitality" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 vitality">Gluttonous Gains - Eating food now counts as a healing potion, and provides a healing burst at the end of the regeneration effect.
</div>
</div>
</div>
<!-- Accuracy bonuses -->
<td class="bonuses hide accuracy" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Accuracy</div>
<div class="bonus-description">Accuracy determines the damage that you do with ranged weapons.</div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 accuracy" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 accuracy">Eye for Injury - Crippling shots with a bow are more severe.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 accuracy" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 accuracy">Trick Shot - Shots fired from your bow will ricochet if you miss your target.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 accuracy" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 accuracy">Steady Hands - All ranged and thrown weapons now do 10% more damage.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 accuracy" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 accuracy">Crevice in the Armor - Increases your armor penetration of any weapon you wield by 50%.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 accuracy" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 accuracy">Shafted - Every headshot deals 50% more damage.
</div>
</div>
</div>
<!-- Grit bonuses -->
<td class="bonuses hide grit" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Grit</div>
<div class="bonus-description">Grit determines the size of your stamina pool.<br> </div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 grit" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 grit">Strong Grip - You use 10% less stamina whenever you climb.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 grit" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 grit">Barbaric Tenacity - You gain an additional 10% stamina per regeneration tick.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 grit" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 grit">Iron-hard Muscles - You gain a natural resistance to damage. (+15 armor)
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 grit" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 grit">Fluid Swings - Your basic attacks cost less stamina.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 grit" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 grit">Artful Dodger - Dodging costs less stamina.
</div>
</div>
</div>
<!-- Encumbrance bonuses -->
<td class="bonuses hide encumbrance" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Encumbrance</div>
<div class="bonus-description">Encumbrance is a measure of how much you can carry.<br> </div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 encumbrance" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 encumbrance">Balance and Counterbalance - You deal 10% extra melee damage while over-encumbered but swing using 10% less stamina when no over-encumbered.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 encumbrance" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 encumbrance">Sure-footed - Crippling effects are less severe.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 encumbrance" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 encumbrance">Pack Mule - Your max carry weight is increased by 10%.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 encumbrance" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 encumbrance">Deflection - You have a chance to ignore armor and shield durability loss when hit.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 encumbrance" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 encumbrance">Momentum - When over-encumbered, you can move at full speed.
</div>
</div>
</div>
<!-- Survival bonuses -->
<td class="bonuses hide survival" rowspan="15">
<div class="bonuses-container bonuses">
<div class="bonus-heading">Survival</div>
<div class="bonus-description">Survival is a measure of your ability to live in harsh conditions. It affects how easily you metabolize food.</div>
<hr class="bonuses-hr">
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir1 survival" src="./images/t1.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir1 survival">Raw and Bloody - You do not have to cook raw meat to avoid food poisoning.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir2 survival" src="./images/t2.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir2 survival">Hard Worker - You harvest resource nodes twice as fast.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir3 survival" src="./images/t3.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir3 survival">Efficient Buthery - Every animal harvested provides extra resources.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir4 survival" src="./images/t4.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 survival">Antidote of one - Invulnerability to poisons and diseases. Strength of detrimental status effects are reducded by 20%.
</div>
</div>
<div class="bonus-container bonus-teir">
<img class="bonus-icon bonus-teir5 survival" src="./images/t5.png" width="100" height="100" alt="stat icon">
<div class="bonus-content teir5 survival">Bronzed Physique - All direct combat damage you take is reduced by 10%.
</div>
</div>
</div>
</td>
<!-- Player stats -->
<td class="player-stats" rowspan="15">
<ul>
<li><span>Health: </span><span class="health"></span></li>
<li><span>Stamina: </span><span class="stamina"></span></li>
<li><span>Encumbr: </span><span class="encumbrance-player"></span></li>
<li><span>Melee: </span><span class="melee"></span></li>
<li><span>Ranged: </span><span class="ranged"></span></li>
<li><span>Armor: </span><span class="armor">+</span></li>
<li><span>Resist: </span><span class="dmg-resist"></span></li>
</ul>
</td>
</tr>
<!-- Continue with attribute rows starting @ progress-bar strength -->
<tr>
<td class="progress-bar strength" colspan="3">
<div class="progress strength"></div>
</td>
</tr>
<!-- Agility attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div agility">
<div>
<img class="stat-icon" src="./images/agility-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Agility</span>
</div>
<span class="cost">
<span class="agility current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="agility-down stat-button"> - </button>
<button class="agility-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar agility" colspan="3">
<div class="progress agility"></div>
</td>
</tr>
<!-- Vitality attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div vitality">
<div>
<img class="stat-icon" src="./images/vitality-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Vitality</span>
</div>
<span class="cost">
<span class="vitality current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="vitality-down stat-button"> - </button>
<button class="vitality-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar vitality" colspan="3">
<div class="progress vitality"></div>
</td>
</tr>
<!-- Accuracy attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div accuracy">
<div>
<img class="stat-icon" src="./images/accuracy-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Accuracy</span>
</div>
<span class="cost">
<span class="accuracy current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="accuracy-down stat-button"> - </button>
<button class="accuracy-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar accuracy" colspan="3">
<div class="progress accuracy"></div>
</td>
</tr>
<!-- Grit attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div grit">
<div>
<img class="stat-icon" src="./images/grit-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Grit</span>
</div>
<span class="cost">
<span class="grit current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="grit-down stat-button"> - </button>
<button class="grit-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar grit" colspan="3">
<div class="progress grit"></div>
</td>
</tr>
<!-- Encumbrance attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div encumbrance">
<div>
<img class="stat-icon" src="./images/encumbrance-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Encumbrance</span>
</div>
<span class="cost">
<span class="encumbrance current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="encumbrance-down stat-button"> - </button>
<button class="encumbrance-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar encumbrance" colspan="3">
<div class="progress encumbrance"></div>
</td>
</tr>
<!-- Survival attribute -->
<tr>
<td class="attribute-td" colspan="3">
<div class="attr-div survival">
<div>
<img class="stat-icon" src="./images/survival-icon.png" height="28" width="28" alt="stat icon">
<span class="attribute">Survival</span>
</div>
<span class="cost">
<span class="survival current-level"></span>
<button class="reset-attribute">Reset</button>
<button class="survival-down stat-button"> - </button>
<button class="survival-up stat-button"> + </button>
<button class="max-attribute">Max</button>
</span>
</div>
</td>
</tr>
<tr>
<td class="progress-bar survival" colspan="3">
<div class="progress survival"></div>
</td>
</tr>
<!-- Reset Buttons -->
<tr>
<td class="reset" colspan="3">
<button class="reset-all">Reset All</button>
<button class="reset-attributes">Reset Attributes</button>
</td>
</tr>
</tbody>
</table>
</div>
<script src="./js/conan-image-preloader.js"></script>
<script src="./js/conan-stat-data.js"></script>
<script src="./js/conan-stat-calc.js"></script>
</body>
</html>