-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·169 lines (162 loc) · 8.04 KB
/
index.html
File metadata and controls
executable file
·169 lines (162 loc) · 8.04 KB
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
<!DOCTYPE html>
<html lang="ko">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-69835851-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-69835851-5');
</script>
<script src="https://cdn.zingchart.com/zingchart.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no viewport-fit=cover">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@Chamdarae" />
<meta name="twitter:creator" content="@Chamdarae" />
<meta name="twitter:image" content="https://maple.darae.dev/starforce/img/og_image.png" />
<meta property="og:url" content="https://maple.darae.dev/starforce" />
<meta property="og:title" content="스타포스 시뮬레이션" />
<meta property="og:description" content="메이플스토리 스타포스 강화 시뮬레이션입니다. 여기서 운 다 쓰시고 인게임의 장비를 재물로 쓰시면 됩니다." />
<meta property="og:image" content="https://maple.darae.dev/starforce/img/og_image.png" />
<title>스타포스 시뮬레이션</title>
<meta name="description" content="메이플스토리 스타포스 강화 시뮬레이션입니다. 여기서 운 다 쓰시고 인게임의 장비를 재물로 쓰시면 됩니다.">
<script type="text/javascript" src="./animate.js"></script>
<link rel="stylesheet" type="text/css" href="./style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link rel="apple-touch-icon-precomposed" href="./img/fav.png" />
<link rel="shortcut icon" href="https://maple.darae.dev/starforce/img/fav.png">
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.9.3/dist/Chart.min.js"></script>
<script type="text/javascript" src="./db.js"></script>
<script type="text/javascript" src="./main.js"></script>
<script type="text/javascript" src="./statis.js"></script>
</head>
<body>
<div id="background"></div>
<div id="content">
<h1 id="title" onclick="checkBono();">스타포스 시뮬레이션</h1>
<table id="setTable">
<tr>
<td>
<p>레벨 : </p>
</td>
<td>
<select name="level" onchange="setValue();" id="level">
<option value="100">100</option>
<option value="110">110</option>
<option value="120">120</option>
<option value="130">130</option>
<option value="140">140</option>
<option value="150">150</option>
<option value="160" selected="selected">160</option>
<option value="200">200</option>
</select>
</td>
<td>
<p>파괴횟수 : </p>
<p id="destroyCount"></p>
</td>
<td>
<p>시행횟수 : </p>
<p id="tryCount"></p>
</td>
</tr>
</table>
<div id="ui">
<div id="star"></div>
<div id="notice" class="common"></div>
<div id="center">
<div id="itemImgBox">
<div id="itemImg">
</div>
</div>
<div id="infoBox" class="common">
<div id="info">
</div>
</div>
</div>
<div id="option">
<div id="catch" class="common">
<p>스타캐치 사용</p><input type="checkbox" id="isCatch" checked="checked">
</div>
<div id="preventDestroyBox" class="common">
<p>파괴방지</p><input type="checkbox" id="preventDestroy" onchange="setValue();">
</div>
</div>
<div id="priceBox" class="common">
<p>필요한 메소 :</p>
<p id="price"></p>
</div>
<div class="common">
<p>사용한 메소 :</p>
<p id="totalUse"></p>
</div>
<div id="btnBox">
<button id="force" onclick="force();" value="강화">강화</button>
<button id="reset" onclick="reset();setValue();" value="초기화">초기화</button>
</div>
</div>
<br>
<div id="setting">
<hr>
<h3>이벤트 설정</h3>
<input type="radio" name="event" onchange="setValue();" checked="checked">
<p>이벤트 없음</p><br>
<input type="radio" name="event" onchange="setValue();">
<p>10성 이하 1+1</p><br>
<input type="radio" name="event" onchange="setValue();">
<p>강화비용 30% 할인</p><br>
<input type="radio" name="event" onchange="setValue();">
<p>5성, 10성, 15성 100%</p><br>
<input type="checkbox" id="freePreventDestroyEvent" onclick="setValue();">
<p>무료 파괴방지 (15성까지)</p><br>
<h3>MVP/PC방 할인</h3>
<p>MVP 등급</p>
<select name="mvp" id="mvp" onchange="setValue();">
<option value="0">혜택 없음</option>
<option value="3">실버</option>
<option value="5">골드</option>
<option value="10">다이아</option>
</select>
<br>
<input type="checkbox" id="PCcafe" onchange="setValue();">
<p>PC방 할인</p>
<hr>
<h3>통계</h3>
<p>목표 강화 수치까지의 강화를 여러 번 시도합니다. 장비 레벨과 이벤트, 할인, 스타캐치 사용 여부는 위에서 설정해 주세요.</p><br>
<p>시작 강화 수치</p><input type="number" min="0" max="24" value="12" id="statisStartStar"><br>
<p>목표 강화 수치</p><input type="number" min="0" max="25" value="22" id="statisGoalStar"><br>
<p>시행 횟수</p><input type="number" min="1" value="1000" id="statisNumOfTry"><br>
<p>파괴시 복구비용</p><input type="number" value="0" id="statisRestore"> <button id="noUpgrade"
onclick="restore();">1억 추가</button><br>
<input type="checkbox" id="preventDestroy15" onclick="setValue();">
<p>12 ~ 15성 파괴방지</p><br>
<input type="checkbox" id="preventDestroy17" onclick="setValue();">
<p>15 ~ 17성 파괴방지</p><br>
<button id="btnStatis" onclick="setStatis();" value="통계내기">통계내기</button>
<p><span style="color: red">경고 </span>사용자의 기기에서 계산하며 23성 이상의 목표나 너무 큰 시행횟수를 넣을경우 스타포스 시뮬레이션이나 실행중인 다른 프로그램이
비정상적으로 종료될 수 있습니다.</p><br>
<div id="statisResult"></div>
<div id="chart">
</div>
<hr>
<div id="copyright">
<p>제작 : Chamdarae (엘리시움)<br><br>버그 발견시
<a href="mailto:kiwi@darae.dev">이메일</a>이나
<a href="https://twitter.com/_darae_">트위터</a>로 제보해주세요<br>GitHub에서 보기 : <a
href="https://github.com/kdo9921/Starforce-Simulation">Starforce-Simulation</a><br></p>
</div>
<div id="megumin">
<a href="https://maple.gg/guild/elysium/메구밍">
<img src="./img/megumin.jpg">
</a>
</div>
</div>
</div>
</body>
</html>