From 370e7fb95ac6f3b4a3eb066c77a726a7879b9132 Mon Sep 17 00:00:00 2001 From: Magesofthebeach <53281653+Magesofthebeach@users.noreply.github.com> Date: Sat, 29 Feb 2020 19:05:22 -0500 Subject: [PATCH] fixed typo/bug Bug caused the OP1 'rare' to always be castle pillar --- src/components/entercode/PackSimulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/entercode/PackSimulator.js b/src/components/entercode/PackSimulator.js index b8ce020..857c17f 100644 --- a/src/components/entercode/PackSimulator.js +++ b/src/components/entercode/PackSimulator.js @@ -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";