1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Fix easter egg chances

This commit is contained in:
Cooper Ransom 2024-02-28 00:28:22 -05:00
parent d1f8b9e652
commit 341c253d6e

View file

@ -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 = [
{