Skip to content

Commit

Permalink
need more info on how the gacha rates work
Browse files Browse the repository at this point in the history
  • Loading branch information
Spelljinxer committed Sep 14, 2023
1 parent 8b3d4fd commit b201664
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 0 additions & 2 deletions anisBanner.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ <h1> made by Spelljinxer </h1>
<div class="gacha-container">
<div class="gacha-window"></div>
<div class="pull-container">
<!-- <button class="pull" onclick="pullCharacter('single')">1x <img src="../img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull" onclick="pullCharacter('multi')">10x <img src="../img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button> -->
<button class="pull pull-single">1x <img src="./img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull pull-multi">10x <img src="./img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button>
</div>
Expand Down
3 changes: 0 additions & 3 deletions helmBanner.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,10 @@ <h1> made by Spelljinxer </h1>
<div class="gacha-container">
<div class="gacha-window"></div>
<div class="pull-container">
<!-- <button class="pull" onclick="pullCharacter('single')">1x <img src="../img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull" onclick="pullCharacter('multi')">10x <img src="../img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button> -->
<button class="pull pull-single">1x <img src="./img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull pull-multi">10x <img src="./img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button>
</div>
</div>

<script src="./js/gacha.js"></script>
</body>
</html>
2 changes: 0 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ <h1> made by Spelljinxer </h1>
<div class="gacha-container">
<div class="gacha-window"></div>
<div class="pull-container">
<!-- <button class="pull" onclick="pullCharacter('single')">1x <img src="./img/ordinaryRecruit.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull" onclick="pullCharacter('multi')">10x <img src="./img/ordinaryRecruit.webp" alt="Multi Pull" id="ordinaryTicket"></button> -->
<button class="pull pull-single">1x <img src="./img/ordinaryRecruit.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull pull-multi">10x <img src="./img/ordinaryRecruit.webp" alt="Multi Pull" id="ordinaryTicket"></button>
</div>
Expand Down
2 changes: 2 additions & 0 deletions js/gacha.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ function init(data) {
var randomSSR = Math.random();
console.log("randomSSR: " + randomSSR);
if (randomSSR <= SSR_RATE) {

//if randomSSR <= LIMITED_RATE && randomSSR >= PILGRIM_RATE ???????????
if (randomSSR <= LIMITED_RATE) {
rarity = 'Limited';
console.log("You pulled the Limited SSR!");
Expand Down
2 changes: 0 additions & 2 deletions moderniaBanner.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ <h1> made by Spelljinxer </h1>
<div class="gacha-container">
<div class="gacha-window"></div>
<div class="pull-container">
<!-- <button class="pull" onclick="pullCharacter('single')">1x <img src="../img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull" onclick="pullCharacter('multi')">10x <img src="../img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button> -->
<button class="pull pull-single">1x <img src="./img/specialTicket.webp" alt="Single Pull" id="ordinaryTicket"></button>
<button class="pull pull-multi">10x <img src="./img/specialTicket.webp" alt="Multi Pull" id="ordinaryTicket"></button>
</div>
Expand Down

0 comments on commit b201664

Please sign in to comment.