-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
90 lines (90 loc) · 3.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chain Counter</title>
<meta charset="UTF-8">
<meta name="description" content="Chain Counter - A Tool for Counting SOS Chains in Pokemon!">
<link rel="shortcut icon" href="favicon.ico"/>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="js/counter.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-57282086-4', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div style="text-align:center">
<div class="center">
<button type="button" onclick='clickMinus()'>-1</button>
<button class="plus-button" type="button" onclick='clickPlus()'>+1</button>
<br><br>
<p style="font-size:30px;">Chain no: <a id="counterValue">0</a></p>
<div id="messageBox">No guaranteed IVs, 0% HA Chance, low shiny chance</div>
<br>
<form action="index.html">
<button class="reset-button" type="submit">Reset</button>
</form>
<br>
<div id="outer">
<div class="inner">
<button id="portfoliomaster"
onclick="toggler('chaininginfo');">
Chaining info
</button>
</div>
<div class="inner">
<button id="night-mode">Night mode</button>
</div>
<div class="inner">
<form action="donate.html" target="_blank">
<button type="submit">Donate</button>
</form>
</div>
<div id="chaininginfo">
<br>
<p>You can use <b>W</b> or the <b>up</b> key, and <b>S</b> or the <b>down</b> key, to increment the counter. You can also use <b>R</b> to reset the counter.</p>
<h3>IVs</h3>
<ul style="text-align: initial;">
<li>0 - 4: No guaranteed IVs</li>
<li>5 - 9: 1 perfect IV</li>
<li>10 - 19: 2 perfect IVs</li>
<li>20 - 29: 3 perfect IVs</li>
<li>30 - 255: 4 perfect IVs</li>
</ul>
<h3>Hidden abilities</h3>
<ul style="text-align: initial;">
<li>0 - 9: 0% chance</li>
<li>10 - 19: 5% chance</li>
<li>20 - 29: 10% chance</li>
<li>30 - 255: 15% chance</li>
</ul>
<h3>Shiny</h3>
<p>70 - 255 gives you a 1/1024 chance of encountering a shiny. If you have the shiny charm, it is 1/683.</p>
<br>
<p>Note that this is given to you live under the counter!</p>
</div>
</div>
<br>
</div>
</div>
<br />
<footer>
<p class="padding">By <a href="http://giacomolaw.me/" target="_blank">Giacomo Lawrance</a>. - View the <a href="https://github.com/chain-counter/chain-counter.github.io" target="_blank">source code</a>.</p>
</footer>
</body>
</html>