forked from GuybrushGit/WarriorSim
-
Notifications
You must be signed in to change notification settings - Fork 6
/
turtle.html
512 lines (482 loc) · 20.1 KB
/
turtle.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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<title>TWoW Warrior DPS Sim</title>
<link rel="icon" type="image/x-icon" href="/WarriorSim-TurtleWoW/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_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/enchants_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/levelstats.min.js"></script>
<script type="text/javascript" src="dist/js/data/buffs_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/spells_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/talents_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/session_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/data/presets_turtle.min.js"></script>
<script type="text/javascript" src="dist/js/globals.min.js"></script>
<script type="text/javascript" src="dist/js/settings.min.js"></script>
<script type="text/javascript" src="dist/js/profiles.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 = "turtle";</script>
</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="https://guybrushgit.github.io/WarriorSim/classic.html" class="btn js-classic">Classic</a>
<a href="turtle.html" class="btn js-turtle active">Turtle WoW CC2 (WIP)</a>
<a href="turtleclassic.html" class="btn js-turtleclassic">CC1</a>
</div>
<div class="bg"></div>
<div>Implemented:
<br/>- Wep Skill rework, new Racial Wep Skills, Skill Books (SoD placeholders)
<br/>- Racials: percep crit, helf agimod, nelf haste, nerfed troll, nerfed + nogcd orc, undead gnome and troll %dam
<br/>- Buffs: Sunder cost reduced, BT and BR self-enrage, R E N D
<br/>- Nerfs: Offhand bonus from HS/cleave removed, hamstring cd, lv60 BT base+scaling, bugged new mortal strike values
<br/>- DPS Talents: new 2h spec, new imp slam, Master of arms, boundless, prec cut reck exe and new exe values, dw offhit bonus, imp Whirlwind, new unbridled
<br/>- Itemization: All Changelog updates, gemstone enchants, and new alt tier but not the new set bonuses, Anni potency nerf and ppm buff
<br/>- MH/OH skill stat weighting
<br/>To Do: (i am accepting PRs)
<br/>-new rage gen formula
<br/>-dps t1 t2 t3 set bonuses
<br/>-pummel as dmg and flurry fisher, and sunder as proc fisher
<br/>-slam rework
<br/>-sweeping strikes (upstream needs this too)
<br/>-prot talents but who cares?
</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 Chance</label>
<span id="miss"></span>
</li>
<li>
<label>Crit Chance</label>
<span id="crit"></span>
</li>
<li>
<label>Soft Crit Cap</label>
<span id="critcap"></span>
</li>
<li>
<label>Dmg %</label>
<span id="dmgmod"></span>
</li>
<li>
<label>Armor Pen</label>
<span id="arp"></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 hidden">
<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 hidden">
<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 id="weight-haste"><span class="stat-name">Haste:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-arp"><span class="stat-name">Armor Penetration:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-mhskill"><span class="stat-name">MH Skill:</span><span class="stat-dps">12345</span><span class="stat-error">123</span></div>
<div id="weight-ohskill"><span class="stat-name">OH Skill:</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">CALCULATE DPS</a>
<a href="#" class="btn js-table">RANK YOUR OPTIONS</a>
<a href="#" class="btn js-weights">STAT WEIGHTS</a>
<a href="#" class="btn js-stats disabled">FIGHT STATISTICS</a>
<a href="#" class="btn js-settings">FIGHT SETTINGS</a>
<a href="#" class="btn js-profiles">PROFILES</a>
<div class="author">made by Guybrush-Golemagg<br>This TurtleWoW fork maintained by Zaas<br>Based Contributors: Hobbit, Melba</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/Zebouski/WarriorSim-TurtleWoW/" 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="60" class="slider">
<input type="text" name="level" value="60" data-numberonly="true">
</li>
<li>
<label>Target Level</label>
<input type="range" name="slider-targetlevel" min="1" max="63" value="63" class="slider">
<input type="text" name="targetlevel" value="63" 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="High Elf">High Elf</option>
<option value="Undead">Undead</option>
<option value="Orc">Orc</option>
<option value="Tauren">Tauren</option>
<option value="Troll">Troll</option>
<option value="Goblin">Goblin</option>
</select>
</li>
<li>
<label>Simulations</label>
<input type="text" name="simulations" value="15000" data-numberonly="true">
</li>
<li>
<label>Fight Duration (min)</label>
<input type="text" name="timesecsmin" value="90" data-numberonly="true">
</li>
<li>
<label>Fight Duration (max)</label>
<input type="text" name="timesecsmax" value="120" data-numberonly="true">
</li>
<li>
<label><a href="#" title="% of the Fight Duration that Execute is Available. As your team gains gains more and better warriors, they'll all be executing and killing enemies faster and faster, reducing the ratio of time spent executing and not. Lower this setting below 20% accordingly. Lower even further if you are simming a fight where everyone uses Reck.">
Execute Duration Percentage
</a></label>
<input type="text" name="executeperc" value="15" 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="24" data-numberonly="true">
</li>
<li>
<label><a href="https://docs.google.com/spreadsheets/d/1WIHs3aDT5LHZyVKSXZkC5_J9A1Od0jowhc89AdAu_Yo/" target="_blank">Target Base Armor</a></label>
<input type="text" name="targetcustomarmor" value="" />
<select dir="rtl" name="targetbasearmor">
<option value="4211">Most 40man/AQ20/WBosses [4211]</option>
<option value="4611">Patch/Thadd/Loatheb [4611]</option>
<option value="3850">Faerlina/Noth [3850]</option>
<option value="3402">Most ZG Bosses/Gothik/KT [3402]</option>
<option value="5980">Ostarius [5980]</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="1">None</option>
<option value="0.8">20%</option>
<option value="0">100%</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">
<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="scitadel">Scarlet Citadel</li>
<li data-id="emersanc">Emerald Sanctum</li>
<li data-id="lowerkara">Lower Karazhan Halls</li>
<li data-id="unknown">Unknown/Unreleased</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" data-sources="onyxia,mc">P1</li>
<li data-id="2" data-sources="">P2</li>
<li data-id="3" data-sources="bwl">P3</li>
<li data-id="4" data-sources="zg">P4</li>
<li data-id="5" data-sources="aq20,aq40">P5</li>
<li data-id="6" data-sources="naxx">P6</li>
<li data-id="7" data-sources="scitadel,emersanc,lowerkara,unknown">TWoW</li>
</ul>
</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>
<ul>
<li data-type="mainhand" class="active">
<p>MH</p>
<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>Human Weps</p></li>
<li><p>Goblin Weps</p></li>
<li><p>Edgies Weps</p></li>
</ul>
</li>
<li data-type="offhand">
<p>OH</p>
<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>Human Weps</p></li>
<li><p>Goblin Weps</p></li>
<li><p>Edgies Weps</p></li>
</ul>
</li>
<li data-type="twohand">
<p>2H</p>
<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>Human Weps</p></li>
</ul>
</li>
<li data-type="head"><p>Head</p></li>
<li data-type="neck"><p>Neck</p></li>
<li data-type="shoulder"><p>Shoulder</p></li>
<li data-type="back"><p>Back</p></li>
<li data-type="chest"><p>Chest</p></li>
<li data-type="wrist"><p>Wrist</p></li>
<li data-type="hands"><p>Hands</p></li>
<li data-type="waist"><p>Waist</p></li>
<li data-type="legs"><p>Legs</p></li>
<li data-type="feet"><p>Feet</p></li>
<li data-type="finger1"><p>Ring 1</p></li>
<li data-type="finger2"><p>Ring 2</p></li>
<li data-type="trinket1"><p>Trinket 1</p></li>
<li data-type="trinket2"><p>Trinket 2</p></li>
<li data-type="ranged"><p>Ranged</p></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>
<script>
$(document).ready(function () {
SIM.UI.init();
SIM.SETTINGS.init();
SIM.STATS.init();
SIM.PROFILES.init();
});
</script>
</body>
</html>