-
Notifications
You must be signed in to change notification settings - Fork 20
/
simulator.html
168 lines (154 loc) · 9.3 KB
/
simulator.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>SFTools - Fight Simulator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="res/favicon.png"/>
<link rel="stylesheet" href="css/pages/simulator.css"/>
<script src="vendor/js/jquery.3.4.1.min.js"></script>
<script src="vendor/js/semantic.min.js"></script>
<script src="vendor/js/html2canvas.min.js"></script>
<script src="js/util.js"></script>
<script src="js/playa/calculations.js"></script>
<script src="js/plugins.js"></script>
<script src="js/core/util.js"></script>
<script src="js/core/models.js"></script>
<script src="js/core/core.js"></script>
<script src="js/core/database.js"></script>
<script src="js/script/config.js"></script>
<script src="js/script/ast.js"></script>
<script src="js/script/core.js"></script>
<script src="js/changelog.js"></script>
<script src="js/views/base.js"></script>
<script src="js/sim/editor.js"></script>
<script src="endpoint/endpoint.js"></script>
<script src="js/sim/base.js"></script>
<script src="js/sim/utils.js"></script>
<script src="js/pages/simulator.js"></script>
</head>
<body class="inverted">
<div class="ui fixed inverted borderless huge menu">
<div class="header item"><a href="index.html">SFTools</a></div>
</div>
<div class="ui main inverted container">
<div class="ui two columns grid">
<!-- Player edit field -->
<div class="column">
<div class="ui inverted form" id="sim-editor">
</div>
</div>
<!-- Player list -->
<div class="column">
<div class="ui grid screenshot-target">
<div class="row">
<div class="three wide column">
<button class="ui fluid small basic inverted button" type="submit" id="add-player"><i class="small arrow right icon"></i> <span data-intl="simulator.add"></span></button>
</div>
<div class="three wide column">
<button class="ui fluid small basic inverted button" type="submit" id="save-player" data-intl="simulator.save"></button>
</div>
<div class="five wide column">
<div class="ui small form">
<div class="field">
<div class="ui fluid selection compact inverted dropdown" id="sim-mode">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
</div>
</div>
<div class="five wide column">
<div class="ui small basic inverted icon fluid three buttons">
<button class="ui button" data-position="bottom center" data-intl-tooltip="players.gladiator_mode" data-inverted="" id="gladiator-mode"><i class="bolt icon"></i></button>
<button class="ui button" data-position="bottom center" data-intl-tooltip="players.ihof_mode" data-inverted="" id="ihof-mode"><i class="trophy icon"></i></button>
<button class="ui button" data-position="bottom center" data-intl-tooltip="players.no_attribute_reduction_mode" data-inverted="" id="no-attribute-reduction-mode"><i class="fire icon"></i></button>
</div>
</div>
</div>
<div class="css-small-row row">
<div class="four wide column">
<div class="ui small basic inverted icon fluid two buttons">
<button class="ui button" data-position="bottom center" data-intl-tooltip="simulator.clipboard.paste_mode" data-inverted="" id="paste-mode"><i class="paste icon"></i></button>
<button class="ui button" data-position="bottom center" data-intl-tooltip="simulator.clipboard.copy_all" data-inverted="" id="copy-all"><i class="copy icon"></i></button>
</div>
</div>
<div class="seven wide column">
<div class="ui small inverted form">
<div class="two fields">
<div class="field" data-position="bottom center" data-intl-tooltip="simulator.threads" data-inverted="">
<div class="ui inverted centered input">
<input type="text" id="sim-threads" value="4">
</div>
</div>
<div class="field" data-position="bottom center" data-intl-tooltip="simulator.iterations" data-inverted="">
<span style="position: absolute; top: 0.5em; left: -0.25em;">x</span>
<div class="ui inverted centered input">
<input type="text" id="sim-iterations" value="2500">
</div>
</div>
</div>
</div>
</div>
<div class="five wide column">
<button class="ui fluid small basic inverted button" type="submit" id="simulate" data-intl="simulator.simulate"></button>
</div>
</div>
<div class="row cursor-pointer selectable-header">
<div class="two wide text-center column">
<span data-sort="class" data-intl="editor.class"></span>
</div>
<div class="two wide column">
<span data-sort="level" data-intl="editor.level"></span>
</div>
<div class="four wide column">
<span data-sort="name" data-intl="editor.name"></span>
</div>
<div class="two wide text-center column">
<span data-sort="avg" data-intl="simulator.win_chance"></span>
</div>
<div class="two wide text-center column">
<span data-sort="min" data-intl="simulator.min_chance"></span>
</div>
<div class="two wide text-center column">
<span data-sort="max" data-intl="simulator.max_chance"></span>
</div>
<div class="one wide column">
</div>
<div class="one wide column">
<button id="save-screenshot" class="ui small basic inverted icon button" style="position: absolute; right: .75em; top: -0.50em;" data-position="bottom center" data-intl-tooltip="stats.copy.image" data-inverted=""><i class="download icon"></i></button>
</div>
</div>
<div class="row !p-0">
<div class="sixteen wide column">
<hr/>
</div>
</div>
<div class="row">
<div class="sixteen wide column">
<div class="ui middle aligned grid" id="sim-players">
</div>
</div>
<div>
</div>
</div>
</div>
</div>
<div class="footer">
<div class="footer-item"></div>
<div class="footer-item">
<span class="pointer-events-all !text-orange cursor-pointer" data-op="report">
<i class="comment alternate icon"></i>
<span data-intl="index.footer.report"></span>
</span>
<br>
<a class="pointer-events-all !text-orange cursor-pointer" href="https://home.sfgame.net" target="_blank">
<i class="shopping basket icon"></i>
<span data-intl="index.footer.webshop#"></span>
</a>
<br>
<i class="copyright outline icon"></i>2019 - 2024 | mar21 | <i class="discord icon"></i> mar21 | <i class="mail icon"></i> support@mar21.eu
</div>
</div>
</body>
</html>