-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
212 lines (208 loc) · 9.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ultrarare Calculator</title>
<link rel="shortcut icon" type="image/x-icon" href="gobattle_ring.ico">
<style>
@font-face {
font-family: Compass;
src: url("../../UltraCalculator/compass.ttf") format('truetype');
font-weight: bold;
font-style: normal;
}
body {
font-family: Compass;
margin: 0;
padding: 0;
background-image: URL("../../UltraCalculator/library.webp");
color: #333;
}
header {
color: white;
padding: 1rem;
text-align: center;
}
main {
padding: 2rem;
text-align: center;
}
section {
background-color: #7393B3;
margin: 2rem 0;
padding: 2rem;
}
footer {
background-color: #7393B3;
color: white;
text-align: center;
padding: 1rem;
position: fixed;
bottom: 0;
width: 100%;
}
select {
font-family: Compass;
padding: 0.5rem;
font-weight: bold;
font-style: normal;
font-size: 16px;
margin-top: 1rem;
}
</style>
</head>
<body>
<header>
<h1>Ultra Drop Calculator</h1>
<p>Coming Soon™</p>
</header>
<main>
<!-- Main content goes here -->
<section>
<p>Welcome to the Ultra Drop Calculator!</p>
<p>Select an ultra from the dropdown below:</p>
<!-- Dropdown Menu -->
<select id="options" onchange="dropdownChanged()">
<option value="">Select an option</option>
<option value="Blue Ring">Blue Ring</option>
<option value="Red Ring">Red Ring</option>
<option value="FireBreath Ring">FireBreath Ring</option>
<option value="GoBattle Ring">GoBattle Ring</option>
<option value="Ring of Restoration">Ring of Restoration</option>
<option value="Bloodmoon Ring">Bloodmoon Ring</option>
<option value="Hermes Boots">Hermes Boots</option>
<option value="Speed Boots">Speed Boots</option>
<option value="Maximum Speed Boots">Maximum Speed Boots</option>
<option value="Normal Invisibility Cloak">Normal Invisibility Cloak</option>
<option value="Extreme Invisibility Cloak">Extreme Invisibility Cloak</option>
<option value="Instant Defense Cloak">Instant Defense Cloak</option>
<option value="Epic Instant Defense Cloak">Epic Instant Defense Cloak</option>
<option value="Normal Health Regeneration Cloak">Normal Health Regeneration Cloak</option>
<option value="Max Health Regeneration Cloak">Max Health Regeneration Cloak</option>
<option value="Normal Venom Protection Cloak">Normal Venom Protection Cloak</option>
<option value="Extraordinary Venom Protection Cloak">Extraordinary Venom Protection Cloak</option>
<option value="Fire Protection Cloak">Fire Protection Cloak</option>
<option value="Maximum Fire Protection Cloak">Maximum Fire Protection Cloak</option>
<option value="Anti Freezing Glove">Anti Freezing Glove</option>
<option value="Instant Strength Glove">Instant Strength Glove</option>
<option value="Epic Strength Glove">Epic Strength Glove</option>
<option value="Epic Invincibility Potion">Epic Invincibility Potion</option>
<option value="Firebreath's Blood">Firebreath's Blood</option>
<option value="Gravity Feather">Gravity Feather</option>
<option value="Team Gravity Feather">Team Gravity Feather</option>
<option value="Lava Armor Protector">Lava Armor Protector</option>
<option value="Breath Helmet">Breath Helmet</option>
<option value="Fire Enchantment">Fire Enchantment</option>
<option value="Peppermint Strike">Peppermint Strike</option>
</select>
<p id="response"></p>
</section>
</main>
<footer>
ℹ This is licensed under a CC0-1.0 license, meaning this is open-source. Feel free to check out the source code <a href="https://github.com/Aratox-Official/UltraCalculator">here</a>.
</footer>
<script>
function dropdownChanged() {
const select = document.getElementById("options");
const response = document.getElementById("response");
const value = select.value;
switch(value) {
case 'Blue Ring':
response.innerHTML = "You have a raw chance of 0.05% of getting this ultra.\n\nTickets: 500";
break;
case 'Red Ring':
response.innerHTML = "You have a raw chance of 0.05% of getting this ultra.\n\nTickets: 500";
break;
case 'FireBreath Ring':
response.innerHTML = "You have a raw chance of 0.024% of getting this ultra.\n\nTickets: 250";
break;
case 'GoBattle Ring':
response.innerHTML = "You have a raw chance of 0.024% of getting this ultra.\n\nTickets: 250";
break;
case 'Ring of Restoration':
response.innerHTML = "You have a raw chance of 0.048% of getting this ultra.\n\nTickets: 500";
break;
case 'Bloodmoon Ring':
response.innerHTML = "You have a raw chance of 0.094% of getting this ultra.\n\nTickets: 1000";
break;
case 'Hermes Boots':
response.innerHTML = "You have a raw chance of 0.398% of getting this ultra.\n\nTickets: 4000";
break;
case 'Speed Boots':
response.innerHTML = "You have a raw chance of 0.251% of getting this ultra.\n\nTickets: 3000";
break;
case 'Maximum Speed Boots':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Normal Invisibility Cloak':
response.innerHTML = "You have a raw chance of 0.298% of getting this ultra.\n\nTickets: 3000";
break;
case 'Extreme Invisibility Cloak':
response.innerHTML = "You have a raw chance of 0.298% of getting this ultra.\n\nTickets: 3000";
break;
case 'Instant Defense Cloak':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Epic Instant Defense Cloak':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Normal Health Regeneration Cloak':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 3000";
break;
case 'Max Health Regeneration Cloak':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Normal Venom Protection Cloak':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Extraordinary Venom Protection Cloak':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Fire Protection Cloak':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Maximum Fire Protection Cloak':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Anti Freezing Glove':
response.innerHTML = "You have a raw chance of 0.217% of getting this ultra.\n\nTickets: 3000";
break;
case 'Instant Strength Glove':
response.innerHTML = "You have a raw chance of 0.251% of getting this ultra.\n\nTickets: 3000";
break;
case 'Epic Strength Glove':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Epic Invincibility Potion':
response.innerHTML = "You have a raw chance of 0.497% of getting this ultra.\n\nTickets: 5000";
break;
case 'Firebreath\'s Blood':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Gravity Feather':
response.innerHTML = "You have a raw chance of 0.088% of getting this ultra.\n\nTickets: 1000";
break;
case 'Team Gravity Feather':
response.innerHTML = "You have a raw chance of 0.048% of getting this ultra.\n\nTickets: 500";
break;
case 'Lava Armor Protector':
response.innerHTML = "You have a raw chance of 0.159% of getting this ultra.\n\nTickets: 2000";
break;
case 'Breath Helmet':
response.innerHTML = "You have a raw chance of 0.251% of getting this ultra.\n\nTickets: 3000";
break;
case 'Fire Enchantment':
response.innerHTML = "You have a raw chance of 0.01% of getting this ultra.\n\nTickets: 100";
break;
case 'Peppermint Strike':
response.innerHTML = "You have a raw chance of 0.191% of getting this ultra.\n\nTickets: 1000";
break;
default:
response.innerHTML = "";
break;
}
}
</script>
</body>
</html>