fixed typo/bug

Bug caused the OP1 'rare' to always be castle pillar
This commit is contained in:
Magesofthebeach
2020-02-29 19:05:22 -05:00
committed by GitHub
parent d351fb2335
commit 370e7fb95a

View File

@@ -170,7 +170,7 @@ export default class PackSimulator extends React.Component {
genrarity("Common", 2);
let randomWeird = Math.floor(Math.random() * 75) + 1;
let weirdRarity = "";
if (randomWeird = 75)
if (randomWeird == 75)
weirdRarity = "Ultra Rare";
else if (randomWeird < 19)
weirdRarity = "Super Rare";