forked from Sturalke/FauxHollowsProbabilisticSolver
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
344 lines (340 loc) · 19.5 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<!--Site written by Fyrin Niyuun @ Behemoth. Formerly Fyrin Niyuun @ Faerie-->
<title>幻巧拼图计算器</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="shortcut icon" href="images/logo.png" type="image/png">
<!-- 用不了字体
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
-->
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<div id="app">
<div id="main">
<div id="content" class="contentpane dp-low rounded">
<div id="board" class="board">
<div id="cell00" class="board-cell optransition noselect" data-index="00">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell01" class="board-cell optransition noselect" data-index="01">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell02" class="board-cell optransition noselect" data-index="02">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell03" class="board-cell optransition noselect" data-index="03">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell04" class="board-cell optransition noselect" data-index="04">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell05" class="board-cell optransition noselect" data-index="05">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell06" class="board-cell optransition noselect" data-index="06">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell07" class="board-cell optransition noselect" data-index="07">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell08" class="board-cell optransition noselect" data-index="08">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell09" class="board-cell optransition noselect" data-index="09">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell10" class="board-cell optransition noselect" data-index="10">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell11" class="board-cell optransition noselect" data-index="11">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell12" class="board-cell optransition noselect" data-index="12">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell13" class="board-cell optransition noselect" data-index="13">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell14" class="board-cell optransition noselect" data-index="14">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell15" class="board-cell optransition noselect" data-index="15">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell16" class="board-cell optransition noselect" data-index="16">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell17" class="board-cell optransition noselect" data-index="17">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell18" class="board-cell optransition noselect" data-index="18">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell19" class="board-cell optransition noselect" data-index="19">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell20" class="board-cell optransition noselect" data-index="20">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell21" class="board-cell optransition noselect" data-index="21">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell22" class="board-cell optransition noselect" data-index="22">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell23" class="board-cell optransition noselect" data-index="23">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell24" class="board-cell optransition noselect" data-index="24">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell25" class="board-cell optransition noselect" data-index="25">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell26" class="board-cell optransition noselect" data-index="26">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell27" class="board-cell optransition noselect" data-index="27">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell28" class="board-cell optransition noselect" data-index="28">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell29" class="board-cell optransition noselect" data-index="29">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell30" class="board-cell optransition noselect" data-index="30">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell31" class="board-cell optransition noselect" data-index="31">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell32" class="board-cell optransition noselect" data-index="32">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell33" class="board-cell optransition noselect" data-index="33">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell34" class="board-cell optransition noselect" data-index="34">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
<div id="cell35" class="board-cell optransition noselect" data-index="35">
<img src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" alt="" class="board-cell-icon" draggable="false" ondragstart="return false;"/>
<span class="board-cell-text"></span>
</div>
</div>
<div class="h-separator"></div>
<div class="dp-high rounded controls">
<form action id="picker">
<div class="radiocontainer noselect">
<label id="button1" for="blockedradiobutton" class="radiobuttonlabel optransition" title="固定块">
<input type="radio" id="blockedradiobutton" name="pickeritem" value="blocked" checked>
<img src="images/blocked.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button1" class="radiocaption">固定块</label>
</div>
<div class="radiocontainer radiospace noselect">
<label id="button2" for="missedradiobutton" class="radiobuttonlabel optransition" title="空白">
<input type="radio" id="missedradiobutton" name="pickeritem" value="missed">
<img src="images/missed.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button2" class="radiocaption">空白</label>
</div>
<div class="radiocontainer radiospace noselect">
<label id="button3" for="chestradiobutton" class="radiobuttonlabel optransition" title="宝箱">
<input type="radio" id="chestradiobutton" name="pickeritem" value="chest">
<img src="images/chest.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button3" class="radiocaption">宝箱</label>
</div>
<div class="radiocontainer radiospace noselect">
<label id="button4" for="swordsradiobutton" class="radiobuttonlabel optransition" title="双剑">
<input type="radio" id="swordsradiobutton" name="pickeritem" value="swords">
<img src="images/swords.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button4" class="radiocaption">双剑</label>
</div>
<div class="radiocontainer radiospace noselect">
<label id="button5" for="foxradiobutton" class="radiobuttonlabel optransition" title="宗长">
<input type="radio" id="foxradiobutton" name="pickeritem" value="fox">
<img src="images/fox.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button5" class="radiocaption">宗长</label>
</div>
<div class="radiocontainer radiospace noselect">
<label id="button6" for="clearradiobutton" class="radiobuttonlabel optransition" title="清除标记">
<input type="radio" id="clearradiobutton" name="pickeritem" value="clear">
<img src="images/erase.png" class="radioimage" draggable="false" ondragstart="return false;"/>
</label>
<label for="button6" class="radiocaption">清除标记</label>
</div>
</form>
<div class="h-separator"></div>
<div class="button-row">
<label for="menucollapse" id="collapselabel" class="advanced-collapse-label noselect">
<input id="menucollapse" type="button" />
高级
<div id="arrow" class="arrow"></div>
</label>
<label for="resetbutton" id="resetbuttonlabel" class="reset-button-label noselect">
<input id="resetbutton" type="button" />
重置
</label>
</div>
<div id="collapsebox" class="collapse-box">
<div class="h-separator"></div>
<div id="advancedsettings" class="advanced-settings-box">
<form action id="strat" class="strat-form">
<h4>策略</h4>
<div class="settings-container">
<div>
<input type="radio" id="strat1" name="strat" value="strat1" checked>
<label for="strat1">概率</label>
</div>
<div>
<input type="radio" id="strat2" name="strat" value="strat2">
<label for="strat2">双剑</label>
</div>
<div>
<input type="radio" id="strat3" name="strat" value="strat3">
<label for="strat3">宝箱</label>
</div>
<div>
<input type="radio" id="strat4" name="strat" value="strat4">
<label for="strat4">宗长</label>
</div>
</div>
<div class="settings-container">
<div>
<input type="radio" id="strat5" name="strat" value="strat5">
<label for="strat5">加权</label>
</div>
<div class="psuedo"></div>
<div>
<input type="checkbox" id="spreadsheet">
<label for="spreadsheet">宗长目击记录</label>
</div>
<div>
<input type="checkbox" id="lookforfox" checked>
<label for="lookforfox">寻找宗长</label>
</div>
</div>
<div class="settings-container">
<div style="width: 140px;">
权重
<div>
<input type="number" id="foxweight" value="100" pattern="[0-9]" min="0" max="100" class="weights">
<label>宗长</label>
</div>
<div>
<input type="number" id="boxweight" value="35" pattern="[0-9]" min="0" max="100" class="weights">
<label id="boxweightlabel">宝箱</label>
</div>
<div>
<input type="number" id="swordweight" value="30" pattern="[0-9]" min="0" max="100" class="weights">
<label>双剑</label>
</div>
</div>
</div>
</form>
<div class="settings-container settings-right-align">
<form action class="box-type">
<div>
<label for="box1">宝箱</label>
<input type="radio" id="box1" name="boxtype" value="box1" onclick="UpdateCoffer();" checked>
</div>
<div>
<label for="box2">礼物盒</label>
<input type="radio" id="box2" name="boxtype" value="box2" onclick="UpdateCoffer();">
</div>
</form>
<div class="psuedo"></div>
<div>
<label for="showstats">显示期望</label>
<input type="checkbox" id="showstats" onclick="ScoresCheckUpdate();">
</div>
<div>
<label for="liveupdate">实时更新</label>
<input type="checkbox" id="liveupdate" onclick="LiveUpdate(); ScoresCheckUpdate();" checked>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="about" class="contentpane dp-low rounded about">
<div class="dp-high rounded about-pane">
<h1>幻巧拼图计算器</h1>
</div>
<div class="h-separator"></div>
<div class="dp-high rounded about-pane" style="text-align: left; line-height: 1.5em;">
<h3 style="margin-top: 0">最近更新</h3>
<span>集成了<a href="https://www.reddit.com/user/Ylandah/">u/Ylandah</a>的藏狐表。查看<a href="https://docs.google.com/spreadsheets/d/1mUyCzlzDmdXMwaSTUgWXtEA45oJNn-iB4_bVM43zf58/">藏狐表</a>(<a href="https://docs.qq.com/sheet/DS3dSWnlEdWZxWFls?tab=BB08JH">QQ文档</a>)或<a href="https://www.reddit.com/r/ffxiv/comments/u1tl10/faux_hollows_fox_location_guide_and_data_gathering/">Reddit原帖</a>了解更多信息。</span>
<h3>关于</h3>
<span><s>藏狐求解器</s>幻巧拼图计算器</span>
<br>
<br>
<span>对于大部分人来说使用默认设置即可。点击“高级”可以看到更多选项。主要用于有更多追求的玩家,比如把宝箱换成礼物盒之类的。请随意使用。</span>
<br>
<span sytle="color:orange;">如果想查看藏狐记录,请点击“高级”并勾选“宗长目击记录”。</span>
<br>
<h3>免责</h3>
<span>本计算器不承诺你能找到宗长,也不承诺你能找到任何奖励。宗长只提供统计上的有利区域。</span>
<br>
<h3>联系</h3>
<span>本工具由 Fyrin Niyuun @ Behemoth开发,阿布evo基于MIT协议中文化。</span>
<br>
<span>如果有任何问题,可以通过Discord联系Sturalke#0249,在GitHub上提交issue或在游戏里找他。</span>
<br>
<br>
<span><a href="https://github.com/thewakingsands/FauxHollowsProbabilisticSolver">Github</a> | <a href="https://www.reddit.com/user/Sturalke">u/Sturalke</a> | <a href="https://i.duotai.net/forms/zxjg2/wh956yns?url=FauxHollows">留言反馈</a></span>
</div>
</div>
</div>
</div>
<!--Load JS last-->
<script src="code.js">
</script>
</body>
</html>