-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
284 lines (243 loc) · 13.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8" />
<meta name="viewport" content="width=device-width" />
<title>Combo Builder • Vampire Survivors</title>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/ychalier/pifekit/pifekit.min.css" />
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/ychalier/pifekit/pifekit.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="master.js" type="module"></script>
</head>
<body>
<div id="drop-delete" class="container">
<div class="text-center">
<img src="assets/title.png" />
</div>
<div class="columns">
<div class="column col-6 col-xl-10 col-lg-12 col-md-12 col-sm-12 col-xs-12 container">
<h1>Combo Builder</h1>
<p>
Drag weapons and items from the right to the left. Click on an entity from the collection to (un)ban it. Then, click the blue <i>Generate</i> button.
</p>
</div>
</div>
<div class="container">
<div class="highlight_box">
<div class="flex-row">
<div id="build">
<h2>Build</h2>
<div>
<div>
<b>Weapons</b><span class="popover popover-right"><span class="infobox">?</span>
<div class="popover-container">
Put <b>weapons</b> here to force the generator to choose them. Base weapons can be
replaced
by their evolved version.
</div>
</span>
</div>
<div class="entity-row" entity-type="weapon" build-type="weapons">
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
</div>
</div>
<div>
<div>
<b>Items</b><span class="popover popover-right"><span class="infobox">?</span>
<div class="popover-container">
Put <b>items</b> here to force the generator to choose them.
</div>
</span>
</div>
<div class="entity-row" entity-type="item" build-type="items">
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
</div>
</div>
<div>
<div>
<b>Arcanas</b><span class="popover popover-right"><span class="infobox">?</span>
<div class="popover-container">
Put <b>arcanas</b> here to force the generator to choose them.
</div>
</span>
</div>
<div class="entity-row" entity-type="arcana" build-type="arcanas">
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
</div>
</div>
<div>
<div>
<b>Stage Items</b><span class="popover popover-right"><span class="infobox">?</span>
<div class="popover-container">
On each normal stage, certain items spawn on the map.
Picking them up once the item inventory is full will add them as extras,
allowing the player to carry more than 6 items.
Put items here to force the generator to choose them. Only put items you
plan to pick up after you filled your item inventory.
</div>
</span>
</div>
<div class="entity-row" entity-type="item" build-type="stage_items">
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
<div class="entity-cell"></div>
</div>
<div class="mt-1">
<select name="stage"></select>
<div id="btn-load-stage" class="button button-blue">Load</div>
</div>
</div>
</div>
<div id="collection">
<h2>Collection</h2>
<b>Base weapons</b>
<div class="entity-row" collection-type="basic_weapons"></div>
<b>Evolved weapons</b>
<div class="entity-row" collection-type="evolved_weapons"></div>
<b>Items</b>
<div class="entity-row" collection-type="items"></div>
<b>Arcanas</b>
<div class="entity-row" collection-type="arcanas"></div>
</div>
</div>
<br>
<div class="text-center">
Combos: <span id="combo-score" class="label">0</span> <span id="btn-show-combos" title="Show satisfied combos">Details</span> <span class="popover popover-right"><span
class="infobox">?</span>
<div class="popover-container text-left">
This is the total number of interactions between weapons and items in the inventory,
which
is maximized by the generator.
All possible interactions are listed on the <a
href="https://vampire-survivors.fandom.com/wiki/Combos">wiki</a>.
</div>
</span>
</div>
<p>
<div style="display: flex; justify-content: center;">
<span style="width: 114px; text-align: right">Combos </span>
<input id="config-coef" class="slider" style="width: 84px" type="range" min="1" max="2"
value="2" />
<span style="width: 114px;"> Evolutions</span>
<span class="popover popover-right"><span class="infobox">?</span>
<div class="popover-container text-left">
Evolving a weapon may change its interactions with items.
Thus we have to balance between maximizing evolutions or maximizing combos.
This cursor allows you to choose between <i>combo first</i> or <i>evolution first</i>.
</div>
</span>
</div>
</p>
<div id="commands">
<div class="button button-blue" id="button-generate" title="Fill current build">Generate</div>
<div class="button button-red" id="button-clear" title="Go back to the previous config">Clear</div>
<div class="button button-red" id="button-reset" title="Empty current build">Reset</div>
</div>
</div>
</div>
<div class="columns">
<div class="column col-6 col-xl-10 col-lg-12 col-md-12 col-sm-12 col-xs-12 container">
<h2>About the generator</h2>
<div class="highlight_box">
<p>
<a href="https://store.steampowered.com/app/1794680/Vampire_Survivors/">Vampire Survivors</a> is
an action roguelike game where the player has to survive against waves of approaching enemies.
The player acquires weapons and items while levelling up (this is called creating a
<i>build</i>).
</p>
<p>
Items can impact a weapon in two ways:
</p>
<ul>
<li>by increasing a stat the weapon relies on (a <a
href="https://vampire-survivors.fandom.com/wiki/Combos">combo</a>),</li>
<li>by changing it into a stronger weapon (an <a
href="https://vampire-survivors.fandom.com/wiki/Evolution">evolution</a>).</li>
</ul>
<p>
Weapons and items are limited in number: 6 weapons and 6 items (plus bonus items directly
gathered on the map). This enforces the player to make choices: given the current build, which
weapon or item to get next?
</p>
<p>
<span class="text-bold">This generator produces optimal builds, regarding two criteria: combos
and evolutions.</span> Any other criterion (DPS, rarity, character, …) is ignored.
</p>
</div>
<h2>Changelog</h2>
<div class="highlight_box">
<dl>
<dt>December 12, 2022</dt>
<dd>Added weapons and a new arcana.</dd>
<dt>June 13, 2022</dt>
<dd>Added sound effects and generation animation. Added satisfied combos display.</dd>
<dt>June 12, 2022</dt>
<dd>Added weapons and items from v0.7.230: Vento Sacro, Fuwalafuwaloo, Torrona's Box, and news acarnas and stages.</dd>
<dt>June 6, 2022</dt>
<dd>Added arcanas. Stage-only items (such as Metaglio) are not picked up if not manually specified. Enhanced ban UI. Added stage items auto filler.</dd>
<dt>May 31, 2022</dt>
<dd>Added weapons and items from v0.6.660: Infinite Corridor, Crimson Shroud, Silver Ring, Gold Ring, Metaglio Left and Metaglio Right.</dd>
<dt>May 18, 2022</dt>
<dd>Initial release.</dd>
</dl>
</div>
<h2>Upcoming Features</h2>
<div class="highlight_box">
<ul>
<li>Display additional build info (overall rarity, levels required, etc.)</li>
<li>Allow for rarity optimization</li>
<li>General UI improvements</li>
</ul>
</div>
<br>
</div>
</div>
</div>
<footer class="bg-dark p-2 text-center">
Developped and maintained by <a href="https://chalier.fr/">Yohan Chalier</a> ∣ Hosted on <a
href="https://github.com/ychalier/vampire-survivors-combo-builder/">GitHub</a>
</footer>
</div>
<div id="modal-generate">
<div>
<img src="assets/dog.gif" />
<b>Generating…</b>
</div>
</div>
<div id="modal-combos">
<table id="table-combos"></table>
</div>
</body>
</html>