-
Notifications
You must be signed in to change notification settings - Fork 72
/
index.html
645 lines (609 loc) · 22.3 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
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<title>Season of Discovery - Warrior DPS Sim</title>
<link rel="icon" type="image/x-icon" href="/WarriorSim/favicon.ico">
<link href="dist/css/theme.default.min.css" rel="stylesheet">
<link href="dist/css/style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet">
<script type="text/javascript" src="dist/js/libs/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="dist/js/libs/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="dist/js/libs/jquery.tablesorter.widgets.min.js"></script>
<script type="text/javascript" src="dist/js/libs/Chart.min.js"></script>
<script type="text/javascript" src="dist/js/classes/player.min.js"></script>
<script type="text/javascript" src="dist/js/classes/simulation.min.js"></script>
<script type="text/javascript" src="dist/js/classes/spell.min.js"></script>
<script type="text/javascript" src="dist/js/classes/weapon.min.js"></script>
<script type="text/javascript" src="dist/js/data/gear_sod.min.js"></script>
<script type="text/javascript" src="dist/js/data/runes.min.js"></script>
<script type="text/javascript" src="dist/js/data/levelstats.min.js"></script>
<script type="text/javascript" src="dist/js/data/buffs.min.js"></script>
<script type="text/javascript" src="dist/js/data/enchants.min.js"></script>
<script type="text/javascript" src="dist/js/data/spells.min.js"></script>
<script type="text/javascript" src="dist/js/data/talents.min.js"></script>
<script type="text/javascript" src="dist/js/data/session_sod.min.js"></script>
<script type="text/javascript" src="dist/js/data/presets.min.js"></script>
<script type="text/javascript" src="dist/js/globals.min.js"></script>
<script type="text/javascript" src="dist/js/profiles.min.js"></script>
<script type="text/javascript" src="dist/js/settings.min.js"></script>
<script type="text/javascript" src="dist/js/stats.min.js"></script>
<script type="text/javascript" src="dist/js/ui.min.js"></script>
<script>var whTooltips = { colorLinks: true, iconizeLinks: false, renameLinks: false, "hide": { "ilvl": false } };</script>
<script src="https://wow.zamimg.com/widgets/power.js"></script>
<script>var mode = "sod";</script>
<!--
TODO
fight log btn
fix selected item losing dps
dynamic presets from text file
better bloodrage / berserker management?
more execute options?
new armor values
later:
sweeping strikes https://hilbert.wordpress.com/sweeping-strikes-guide/
item cooldowns
item times visualizer
-->
</head>
<body>
<div class="alerts"></div>
<section class="sidebar closed">
<div class="sidebar-mobile">
<a href="#" class="btn js-dps">DPS</a>
<span class="dps"></span>
<label class="menu-button-container">
<div class="menu-button"></div>
</label>
</div>
<div class="tabs">
<a href="classic.html" class="btn js-classic">Classic</a>
<a href="." class="btn js-sod active">Season of Discovery</a>
</div>
<div class="bg"></div>
<div class="character">
<p><span id="race">Human</span> Warrior</p>
<p>Level <span id="level"></span></p>
<ul>
<li>
<label>Attack Power</label>
<span id="ap"></span>
</li>
<li>
<label>Strength</label>
<span id="str"></span>
</li>
<li>
<label>Agility</label>
<span id="agi"></span>
</li>
<li>
<label>Hit</label>
<span id="hit"></span>
</li>
<li>
<label>Skill</label>
<span id="skill"></span>
</li>
<li>
<label>Miss</label>
<span id="miss"></span>
</li>
<li>
<label>Dodge</label>
<span id="dodge"></span>
</li>
<li>
<label>Crit</label>
<span id="crit"></span>
</li>
<li>
<label>Crit Cap</label>
<span id="critcap"></span>
</li>
<li>
<label>Dmg %</label>
<span id="dmgmod"></span>
</li>
<li>
<label>Haste</label>
<span id="haste"></span>
</li>
<li class="shadow-resist hidden">
<label>Shadow Resist</label>
<span id="shadow-resist"></span>
</li>
<li class="arcane-resist hidden">
<label>Arcane Resist</label>
<span id="arcane-resist"></span>
</li>
<li class="nature-resist">
<label>Nature Resist</label>
<span id="nature-resist"></span>
</li>
<li class="frost-resist hidden">
<label>Frost Resist</label>
<span id="frost-resist"></span>
</li>
<li class="fire-resist">
<label>Fire Resist</label>
<span id="fire-resist"></span>
</li>
<li>
<label>Sets</label>
<span id="sets"></span>
</li>
</ul>
</div>
<div class="bottom">
<div id="weights-div">
<div id="weight-str"><span class="stat-name">Strength:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-agi"><span class="stat-name">Agility:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-ap"><span class="stat-name">Attack Power:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-crit"><span class="stat-name">Crit Chance:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-hit"><span class="stat-name">Hit Chance:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
</div>
<div id="dps-box"><span class="dps"></span><span id="dpserr"></span></div>
<div id="stats"></div>
<div id="time"></div>
<a href="#" class="btn js-dps">DPS</a>
<a href="#" class="btn js-weights">STAT WEIGHTS</a>
<a href="#" class="btn js-table">SHEET DPS</a>
<a href="#" class="btn js-stats disabled">STATS</a>
<a href="#" class="btn js-settings">SETTINGS</a>
<a href="#" class="btn js-profiles">PROFILES</a>
<div class="author">made by Guybrush-Golemagg</div>
<div class="manual"><a href="https://docs.google.com/document/d/1-ugglMDHqIQlEDiE2z9G7zuI-kgyvb2kvgPobWbcxy0/edit" target="_blank">User Manual</a></div>
<div class="manual"><a href="https://github.com/GuybrushGit/WarriorSim" target="_blank">Github</a></div>
</div>
</section>
<section class="profiles">
<a href="#" class="btn-close"></a>
<div class="wrapper">
<div class="presets"></div>
<div class="container"></div>
</div>
</section>
<div class="import-modal">
<div class="import-modal-container">
<a href="#" class="btn-close"></a>
<textarea name="import" placeholder="Paste import string"></textarea>
</div>
</div>
<section class="settings">
<a href="#" class="btn-close"></a>
<div class="wrapper">
<article class="fight">
<label class="active">Settings</label>
<ul>
<li>
<label>Level</label>
<input type="range" name="slider-level" min="1" max="60" value="25" class="slider">
<input type="text" name="level" value="25" data-numberonly="true">
</li>
<li>
<label>Target Level</label>
<input type="range" name="slider-targetlevel" min="1" max="63" value="28" class="slider">
<input type="text" name="targetlevel" value="28" data-numberonly="true">
</li>
<li>
<label>Race</label>
<select dir="rtl" name="race">
<option value="Human">Human</option>
<option value="Dwarf">Dwarf</option>
<option value="Gnome">Gnome</option>
<option value="Night Elf">Night Elf</option>
<option value="Undead">Undead</option>
<option value="Orc">Orc</option>
<option value="Tauren">Tauren</option>
<option value="Troll">Troll</option>
</select>
</li>
<li>
<label>Simulations</label>
<input type="text" name="simulations" value="50000" data-numberonly="true">
</li>
<li>
<label>Fight Duration (min)</label>
<input type="text" name="timesecsmin" value="50" data-numberonly="true">
</li>
<li>
<label>Fight Duration (max)</label>
<input type="text" name="timesecsmax" value="60" data-numberonly="true">
</li>
<li>
<label>Execute phase percentage</label>
<input type="text" name="executeperc" value="20" data-numberonly="true">
</li>
<li>
<label>Initial Rage</label>
<input type="text" name="startrage" value="0" data-numberonly="true">
</li>
<li>
<label>Target Magic Resistance</label>
<input type="text" name="targetresistance" value="10" data-numberonly="true">
</li>
<li>
<label>Target Base Armor</a></label>
<input type="text" name="targetcustomarmor" value="" />
<select dir="rtl" name="targetbasearmor">
<option value="3731">Warrior Boss [3731]</option>
<option value="3009">Paladin Boss [3009]</option>
<option value="" data-custom="true">Custom Value</option>
</select>
</li>
<li>
<label>Target Attack Speed</label>
<input type="text" name="targetspeed" value="0">
</li>
<li>
<label>Target Min Damage</label>
<input type="text" name="targetmindmg" value="200">
</li>
<li>
<label>Target Max Damage</label>
<input type="text" name="targetmaxdmg" value="300">
</li>
<li>
<label>AQ Books</label>
<select dir="rtl" name="aqbooks">
<option value="No">No</option>
<option value="Yes">Yes</option>
</select>
</li>
<li>
<label>Spell Batching</label>
<select name="batching" dir="rtl">
<option value="10" selected>10</option>
<option value="400">400</option>
</select>
</li>
<li>
<label>Reaction Time (min)</label>
<input type="text" name="reactionmin" value="200" data-numberonly="true">
</li>
<li>
<label>Reaction Time (max)</label>
<input type="text" name="reactionmax" value="300" data-numberonly="true">
</li>
<li>
<label>Adjacent Mobs</label>
<input type="range" name="slider-adjacent" min="0" max="3" value="0" class="slider">
<input type="text" name="adjacent" value="0" data-numberonly="true">
</li>
<li>
<label>Bleed Reduction</label>
<select dir="rtl" name="bleedreduction">
<option value="0.8">20%</option>
<option value="0">100%</option>
<option value="1">None</option>
</select>
</li>
<li>
<label>Spell Queueing</label>
<select dir="rtl" name="spellqueueing">
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</li>
</ul>
</article>
<article class="buffs">
<label class="active">Buffs</label>
</article>
<article class="rotation">
<label class="active">Rotation</label>
<div></div>
<div class="details">
</div>
</article>
<article class="talents">
<label class="active">Talents</label>
<div id="top" class="top">
<p>Points available: <span id="points"></span></p>
<a href="#" class="js-talents-reset">Reset</a>
</div>
</article>
<article class="filter" style="display: none">
<label class="active">Gear Filter</label>
<ul class="sources">
<li data-id="quest">Quest</li>
<li data-id="crafting">Crafting</li>
<li data-id="dungeon">Dungeon</li>
<li data-id="onyxia">Onyxia</li>
<li data-id="mc">Molten Core</li>
<li data-id="bwl">Blackwing Lair</li>
<li data-id="zg">Zul'Gurub</li>
<li data-id="aq20">AQ20</li>
<li data-id="aq40">AQ40</li>
<li data-id="naxx">Naxxramas</li>
<li data-id="worldboss">World Boss</li>
<li data-id="pvp">PvP</li>
<li class="js-toggle" data-id="resistances-list">Resistances
<ul class="resistances-list hidden">
<li>
<label>
Shadow Resist
<input type="checkbox" class="resistances js-toggle" data-id="shadow-resist" name="shadow-resist">
</label>
</li>
<li>
<label>
Arcane Resist
<input type="checkbox" class="resistances js-toggle" data-id="arcane-resist" name="arcane-resist">
</label>
</li>
</li>
<label>
Nature Resist
<input type="checkbox" class="resistances js-toggle" data-id="nature-resist" name="nature-resist">
</label>
</li>
<li>
<label>
Fire Resist
<input type="checkbox" class="resistances js-toggle" data-id="fire-resist" name="fire-resist">
</label>
</li>
<li>
<label>
Frost Resist
<input type="checkbox" class="resistances js-toggle" data-id="frost-resist" name="frost-resist">
</label>
</li>
</ul>
</li>
<li data-id="other">Other</li>
</ul>
<ul class="phases">
<li data-id="1" class="active" data-sources="onyxia,mc">P1</li>
<li data-id="2" class="active" data-sources="">P2</li>
<li data-id="3" class="active" data-sources="bwl">P3</li>
<li data-id="4" class="active" data-sources="zg">P4</li>
<li data-id="5" data-sources="aq20,aq40">P5</li>
<li data-id="6" data-sources="naxx">P6</li>
</ul>
</article>
<article class="runes">
<label class="active">Runes</label>
<div id="runes-area">
</div>
</article>
</div>
</section>
<section class="stats">
<a href="#" class="btn-close"></a>
<div class="wrapper">
<article>
<label>Fight Details</label>
<div class="container-table"></div>
</article>
<article>
<label>Damage</label>
<div class="container-dmg"><canvas></canvas></div>
<div class="legend"></div>
</article>
<article>
<label>Aura Uptime</label>
<div class="container-aura"><canvas></canvas></div>
</article>
<article>
<label>DPS Spread</label>
<div class="container-spread"><canvas></canvas></div>
</article>
</div>
</section>
<section class="main">
<nav class="paperdoll">
<ul>
<li data-type="mainhand" class="active">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_mainhand.jpg" alt="Main Hand"></a>
</div>
<ul class="filter">
<li class="active"><p>All</p></li>
<li><p>Axe</p></li>
<li><p>Dagger</p></li>
<li><p>Fist</p></li>
<li><p>Mace</p></li>
<li><p>Sword</p></li>
<li><p>Mace & Sword</p></li>
<li><p>Axe, Dagger & Sword</p></li>
</ul>
</li>
<li data-type="offhand">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_offhand.jpg" alt="Off Hand"></a>
</div>
<ul class="filter">
<li class="active"><p>All</p></li>
<li><p>Axe</p></li>
<li><p>Dagger</p></li>
<li><p>Fist</p></li>
<li><p>Mace</p></li>
<li><p>Sword</p></li>
<li><p>Mace & Sword</p></li>
<li><p>Axe, Dagger & Sword</p></li>
<li><p>Shield</p></li>
</ul>
</li>
<li data-type="twohand">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_twohand.jpg" alt="Two Hand"></a>
</div>
<ul class="filter">
<li class="active"><p>All</p></li>
<li><p>Axe</p></li>
<li><p>Mace</p></li>
<li><p>Polearm</p></li>
<li><p>Sword</p></li>
<li><p>Mace & Sword</p></li>
<li><p>Staff</p></li>
<li><p>Fishing Pole</p></li>
</ul>
</li>
<li data-type="ranged">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_ranged.jpg" alt="Ranged"></a>
</div>
</li>
<li data-type="head">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_head.jpg" alt="head"></a>
</div>
</li>
<li data-type="neck">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_neck.jpg" alt="neck"></a>
</div>
</li>
<li data-type="shoulder">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_shoulder.jpg" alt="shoulder"></a>
</div>
</li>
<li data-type="back">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_back.jpg" alt="back"></a>
</div>
</li>
<li data-type="chest">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_chest.jpg" alt="chest"></a>
</div>
</li>
<li data-type="wrist">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_wrists.jpg" alt="wrist"></a>
</div>
</li>
<li data-type="hands">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_hands.jpg" alt="hands"></a>
</div>
</li>
<li data-type="waist">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_waist.jpg" alt="waist"></a>
</div>
</li>
<li data-type="legs">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_legs.jpg" alt="legs"></a>
</div>
</li>
<li data-type="feet">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_feet.jpg" alt="feet"></a>
</div>
</li>
<li data-type="finger1">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_finger.jpg" alt="finger1"></a>
</div>
</li>
<li data-type="finger2">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_finger.jpg" alt="finger2"></a>
</div>
</li>
<li data-type="trinket1">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_trinket.jpg" alt="trinket1"></a>
</div>
</li>
<li data-type="trinket2">
<div class="icon">
<a href="#"><img src="https://wow.zamimg.com/images/wow/icons/medium/inventoryslot_trinket.jpg" alt="trinket2"></a>
</div>
</li>
</ul>
</nav>
<div class="table-container"></div>
<div class="button-container">
<a href="#" class="btn js-editmode">SHOW / HIDE ROWS</a>
<a href="#" class="btn js-enchant">ENCHANTS DPS</a>
<a href="#" class="btn js-table">GEAR DPS</a>
<a href="#" class="btn js-export">EXPORT PROFILE</a>
<a href="#" class="btn js-import">IMPORT PROFILE</a>
</div>
<progress value="0" max="100"></progress>
</section>
<div class="modal">
<div class="btn-close"></div>
<div class="wrapper">
<div class="row head">
<p>Rage</p>
<p>Time</p>
<p>Event</p>
</div>
<div class="table">
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
<div class="row">
<p>12</p>
<p>0s</p>
<p>attack!</p>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function () {
SIM.UI.init();
SIM.SETTINGS.init();
SIM.STATS.init();
SIM.PROFILES.init();
});
</script>
</body>
</html>