-
Notifications
You must be signed in to change notification settings - Fork 35
/
setup.html
485 lines (430 loc) · 17 KB
/
setup.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
<!DOCTYPE html>
<html>
<head>
<title>Best Setup Tool</title>
<meta property="og:site_name" content="MH Tools by tsitu">
<meta property="og:type" content="article">
<meta property="og:url" content="https://tsitu.github.io/MH-Tools/setup.html">
<meta property="og:title" content="Best Setup">
<meta property="og:description" content="Calculates the best trap setup to use for a particular location, sublocation, cheese and/or charm">
<meta property="og:image" content="https://cdn.jsdelivr.net/gh/tsitu/MH-Tools@30fb31004ae976aaf29652c435629dcca926d169/lib/img/cheese.jpg">
<meta property="og:image:secure_url" content="https://cdn.jsdelivr.net/gh/tsitu/MH-Tools@30fb31004ae976aaf29652c435629dcca926d169/lib/img/cheese.jpg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="lib/js/jquery.tablesorter.combined.min.js"></script>
<script type="text/javascript" src="lib/js/widget-pager.min.js"></script>
<script type="text/javascript" src="lib/js/js-cookie.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="lib/js/jquery-ui.touch-punch.min.js"></script>
<script type="text/javascript" src="data/arrays.js"></script>
<script type="text/javascript" src="data/cheese-attraction.js"></script>
<script type="text/javascript" src="src/utils/setup-ui.js"></script>
<script type="text/javascript" src="src/utils/bookmarklets.js"></script>
<script type="text/javascript" src="src/main/get-data.js"></script>
<script type="text/javascript" src="src/main/shared-cre-setup.js"></script>
<script type="text/javascript" src="src/utils/ampslider.js"></script>
<script type="text/javascript" src="src/main/setup.js"></script>
<link rel="stylesheet" href="lib/css/style.css" type="text/css" media="print, projection, screen" />
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" type="text/css"
media="print, projection, screen" />
<link rel="icon" type="image/x-icon" href="lib/img/favicon.ico">
<style type="text/css">
td {
margin: 4px;
padding: 4px 6px;
}
th {
margin: 4px;
padding: 4px 6px;
}
select {
padding: 4px;
}
#status {
font-weight: 700;
font-size: 16px;
text-align: left;
}
#pleaseWaitMessage {
font-weight: 700;
font-size: 16px;
text-align: center;
display: none;
}
</style>
</head>
<body>
<div id="top" style="margin-top: 20px; margin-left: 20px">
<div class="header">
<a href="index.html">
<- All Tools</a> <h1>Best Setup Tool</h1>
<a href="https://github.com/tsitu/MH-Tools/blob/master/README.md#trophy-best-setup" target="_blank" rel="noopener">Instructions</a>
|
<a id="bookmarkletloader" href="#">Auto-Loader</a> <span id="bookmarkletloaderCopy" style="cursor: pointer">📋</span> |
<a id="setupBookmarklet" href="#">Load Items</a> <span id="setupBookmarkletCopy" style="cursor: pointer">📋</span> |
<a id="setupFieldsBookmarklet" href="#">Fields</a> <span id="setupFieldsBookmarkletCopy" style="cursor: pointer">📋</span>
</div>
</div>
<div id="main" style="margin-top: 20px; margin-left: 20px; display: hidden">
<table class="form">
<tbody class="input-standard">
<tr class="display-location display-whisker-woods-rift">
<td>Comments:</td>
<td class="locationComment">
Rage states: Low = 1-24, Medium = 25-49, High = 50
<br>Darkest Chocolate Bunny proc rate currently set to 33%
</td>
</tr>
<tr class="display-location display-bristle-woods-rift">
<td>Comments:</td>
<td class="locationComment">
Please report inaccurate minimum luck values
<a href="https://www.mousehuntgame.com/forum/showthread.php?132397-MouseHunt-Tools-by-tsitu&p=1385609&viewfull=1#post1385609"
target="_blank" rel="noopener">here</a>
</td>
</tr>
<tr class="display-location display-labyrinth">
<td>Comments:</td>
<td class="locationComment">
Labyrinth/Minotaur/Treasure Seeker Base & Compass Magnet Charm proc rates currently set to 50%
</td>
</tr>
<!-- <tr class="display-location display-zugzwangs-tower">
<td>Comments:</td>
<td class="locationComment">Assumptions that were made when narrowing down populations can be found
<a href="https://www.mousehuntgame.com/forum/showthread.php?95543-Catch-Rate-Calculator&p=1328110&viewfull=1#post1328110"
target="_blank" rel="noopener">here</a>
</td>
</tr> -->
<tr class="display-location display-moussu-picchu">
<td>Comments:</td>
<td class="locationComment">
Please report inaccurate minimum luck values (particularly for Storm Dragons)
<a href="https://www.mousehuntgame.com/forum/showthread.php?132397-MouseHunt-Tools-by-tsitu&p=1385673&viewfull=1#post1385673"
target="_blank" rel="noopener">here</a>
</td>
</tr>
<tr class="display-location display-claw-shot-city">
<td>Comments:</td>
<td class="locationComment">
'Crew' and 'Ringleaders' sublocations use placeholder attraction data (since each Wanted Poster is different)
</td>
</tr>
<tr class="display-location display-sand-crypts">
<td>Comments:</td>
<td class="locationComment">
Salt level is believed to be logarithmically related to Grub & Scarab power values
<br>The current formulas are approximations based on data from
<a href="https://sites.google.com/site/tehhowch/data-spreadsheets/king_grub_salt_charms/kg_mouse_power"
target="_blank" rel="noopener">tehhowch</a>
</td>
</tr>
<tr class="display-location display-event">
<td>Comments:</td>
<td class="locationComment">
<!-- Many power and eff values are still missing or speculative -->
Event mouse data is liable to change on a yearly basis
<!-- <br>Refer to this <a href="https://docs.google.com/spreadsheets/d/1l6P9Cp2HceKSXgJKzcOy26lK_5BEAsAO9HhoiSYviTY/edit?usp=sharing" -->
<!-- target="_blank" rel="noopener">spreadsheet</a> for the latest research -->
<br>Simple placeholder ARs are used: 100% / number of mice
</td>
</tr>
<tr class="display-location display-queso-geyser">
<td>Comments:</td>
<td class="locationComment">
<!-- Eff values for Stormsurge, Bruticus, Corkataur, and Emberstone are currently set to 600% (Kalor at 900%) -->
Please report incorrect minimum luck values or drastically inaccurate catch rates
</td>
</tr>
<tr class="display-location display-seasonal-garden">
<td>Comments:</td>
<td class="locationComment">
Chesla's Revenge proc rate currently set to 12.5%
<br>Sandcastle Shard Trap not implemented since its Amp% effect depends on current & max levels
</td>
</tr>
<tr class="display-location display-harbour">
<td>Comments:</td>
<td class="locationComment">
Pirate Crew attraction rates will vary depending on your current manifest
</td>
</tr>
<!-- <tr class="display-location display-valour-rift">
<td>Comments:</td>
<td class="locationComment">
Eff values for Soldier of the Shade & Bulwark of Ascent are still speculative
</td>
</tr> -->
<tr class="display-location display-floating-islands">
<td>Comments:</td>
<td class="locationComment">
<!-- Speculative Effs: Cloud Miner, Scarlet Revenger, & Wardens -->
Placeholder ARs: Wardens & Paragons
</td>
</tr>
<tr class="display-location display-school-of-sorcery">
<td>Comments:</td>
<td class="locationComment">
Speculative Effs: Mythical Master Sorcerer
<br>ARs are currently placeholders for reference only!
</td>
</tr>
<tr>
<td>ATTENTION:</td>
<td>
<span>
Catch Rate and Minimum Luck formulas have been updated<br>
Please refer to the <a href="https://github.com/tsitu/MH-Tools#-new-formula" target="_blank" rel="noopener">README</a> for more information (Sep 2020)
</span>
</td>
</tr>
<tr>
<td>Location:</td>
<td>
<select id="location">
</select>
</td>
</tr>
<tr id="phaseRow" class="hidden">
<td>Sublocation:</td>
<td>
<select id="phase">
<option>-</option>
</select>
</td>
</tr>
<tr class="display-location display-valour-rift">
<td>Floor Type:</td>
<td>
<select id="vrFloorType">
<option>1 (Puppet)</option>
<option>2 (Thief)</option>
<option>3 (Melee)</option>
<option>4 (Bard)</option>
<option>5 (Magic)</option>
<option>6 (Noble)</option>
<option>7 (Dusty)</option>
</select>
</td>
</tr>
<tr>
<td>Cheese:</td>
<td>
<select id="cheese">
<option>Select a location</option>
</select>
</td>
</tr>
<tr>
<td>Charm:</td>
<td>
<select id="charm">
<option>-</option>
</select>
</td>
</tr>
<tr id="empoweredRow" class="hidden">
<td>Empowered:</td>
<td>
<select id="empowered">
<option>No</option>
<option>Yes</option>
</select>
</td>
</tr>
</tbody>
<tbody class="input-special">
<tr class="display-location display-furoma-rift" style="display:none">
<td>Battery Level:</td>
<td>
<input type="number" id="battery" min="0" max="10">
</td>
</tr>
<tr class="display-location display-fort-rox">
<td>Ballista Level:</td>
<td>
<input name="ballista" type="number" id="ballistaLevel" type="number" min="0" max="3" value="0" />
</td>
</tr>
<tr class="display-location display-fort-rox">
<td>Cannon Level:</td>
<td>
<input name="cannon" type="number" id="cannonLevel" min="0" max="3" value="0" />
</td>
</tr>
<tr class="display-location display-zugzwangs-tower" style="display:none">
<td>Amp:</td>
<td>
<input id="ampValue" type="text" size="3" value="0" readonly>%
</td>
</tr>
<tr class="display-location display-zugzwangs-tower" style="display:none">
<td></td>
<td>
<div id="ampSlider"></div>
</td>
</tr>
<tr class="display-location display-sand-crypts">
<td>Salt Level:</td>
<td>
<input name="salt" type="number" id="saltLevel" min="0" max="50" value="0" />
</td>
</tr>
<tr class="display-location display-valour-rift">
<td>Highest Umbra Floor:</td>
<td>
<input name="umbra" type="number" id="umbraFloor" min="0" max="200" value="0" />
</td>
</tr>
</tbody>
<tbody class="input-all">
<tr>
<td>Lucky Golden Shield:</td>
<td>
<input type="checkbox" id="gs">
</td>
</tr>
<tr>
<td>Riftstalker Codex:</td>
<td>
<input type="checkbox" id="riftstalker">
</td>
</tr>
<tr>
<td>Bonus Power %:</td>
<td>
<input id="bonusPower" type="number" value="0" min="0">
</td>
</tr>
<tr>
<td>Bonus Luck:</td>
<td>
<input id="bonusLuck" type="number" value="0" min="0">
</td>
</tr>
<tr>
<td>Rank:</td>
<td>
<select id="rank">
<option value="">-</option>
<option value='novice'>Novice</option>
<option value='recruit'>Recruit</option>
<option value='apprentice'>Apprentice</option>
<option value='initiate'>Initiate</option>
<option value='journeyman'>Journeyman / Journeywoman</option>
<option value='master'>Master</option>
<option value='grandmaster'>Grandmaster</option>
<option value='legendary'>Legendary</option>
<option value='hero'>Hero</option>
<option value='knight'>Knight</option>
<option value='lord'>Lord / Lady</option>
<option value='baron'>Baron / Baroness</option>
<option value='count'>Count / Countess</option>
<option value='duke'>Duke / Duchess</option>
<option value='grandduke'>Grand Duke / Grand Duchess</option>
<option value='archduke'>Archduke / Archduchess</option>
<option value='viceroy'>Viceroy</option>
<option value='elder'>Elder</option>
<option value='sage'>Sage</option>
</select>
</td>
</tr>
<tr>
<td>Denture Filter:</td>
<td>
<input type="checkbox" id="dentureFilter">
</td>
</tr>
<tr>
<td>Printing Press Filter:</td>
<td>
<input type="checkbox" id="printingFilter">
</td>
</tr>
<tr>
<td>Sample Size Score: </td>
<td>
<div id="sampleScore">N/A</div>
</td>
</tr>
<tr class="input-standard">
<td>
<a id="link" target="_blank" rel="noopener" class="input-standard" style="font-size: 14px">
Link to this setup
</a>
</td>
</tr>
</tbody>
</table>
<div>
<div>
<p>Number of rows to display (fewer = faster):</p>
<input id="row50" type="radio" name="rowLimit" value="50" checked> 50
<input id="row100" type="radio" name="rowLimit" value="100"> 100
<input id="row500" type="radio" name="rowLimit" value="500"> 500
<input id="row1000" type="radio" name="rowLimit" value="1000"> 1000
<input id="rowAll" type="radio" name="rowLimit" value="All"> All
</div>
<ul class="inline">
<li>
<button id="show_weapons_button"> Weapons </button>
</li>
<li>
<button id="show_bases_button"> Bases </button>
</li>
<li>
<button id="show_charms_button"> Charms </button>
</li>
<li>
<button id="save_setup_button"> Save </button>
</li>
</ul>
<ul class="inline">
<li>
<button id='show_pop_button' style="font-size: 18px"><b> Calculate </b></button>
</li>
<li id="pleaseWaitMessage">Please Wait...</li>
<li id="status">Loading...</li>
</ul>
</div>
<ul id="weapons_selector_table" class="hidden item-selection">
<li><label><input type="checkbox" checked id="all_weapons_checkbox"> All</label></li>
</ul>
<ul id="bases_selector_table" class="hidden">
<li><label><input type="checkbox" checked id="all_bases_checkbox"> All</label></li>
</ul>
<ul id="charms_selector_table" class="hidden">
<li><label><input type="checkbox" checked id="all_charms_checkbox"> All</label></li>
</ul>
<table id='trapSetup'></table>
<div id="pager" class="pager">
<form>
<img src="lib/img/first.png" class="first" />
<img src="lib/img/prev.png" class="prev" />
<span class="pagedisplay"></span>
<img src="lib/img/next.png" class="next" />
<img src="lib/img/last.png" class="last" />
Page size:
<select class="pagesize">
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="500">500</option>
<option value="1000">1000</option>
<option value="all">All</option>
</select>
Jump to:
<select class="gotoPage"></select>
</form>
</div>
<table id='results' class='tablesorter'>
<thead></thead>
<tbody></tbody>
</table>
</div>
</body>
</html>