From 341c253d6e0aa41d932842411d2d45aca13d5057 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Wed, 28 Feb 2024 00:28:22 -0500 Subject: [PATCH 1/2] Fix easter egg chances --- src/components/utils/Lightbar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index f14a6684..d2d33ca0 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -160,7 +160,7 @@ function ParticlesCanvas() { } // Fish easter egg - const shouldShowFishie = Math.floor(Math.random() * 80) > 69; + const shouldShowFishie = Math.floor(Math.random() * 75) > 69; if (shouldShowFishie) { imageOverride = [ { @@ -172,7 +172,7 @@ function ParticlesCanvas() { } // Weed easter egg - const shouldShowZa = Math.floor(Math.random() * 560) > 420; + const shouldShowZa = Math.floor(Math.random() * 435) > 420; if (shouldShowZa) { imageOverride = [ { @@ -184,7 +184,7 @@ function ParticlesCanvas() { } // Kitty easter egg - const shouldShowCat = Math.floor(Math.random() * 100) > 50; + const shouldShowCat = Math.floor(Math.random() * 90) > 50; if (shouldShowCat) { imageOverride = [ { From d7e20c81b7090dd00b82a3040ada62ba81dc5a43 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Wed, 28 Feb 2024 00:30:11 -0500 Subject: [PATCH 2/2] Fix kitty easter egg chances --- src/components/utils/Lightbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index d2d33ca0..6366581a 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -184,7 +184,7 @@ function ParticlesCanvas() { } // Kitty easter egg - const shouldShowCat = Math.floor(Math.random() * 90) > 50; + const shouldShowCat = Math.floor(Math.random() * 83) > 50; if (shouldShowCat) { imageOverride = [ {