From 5fd9ba9d69b9b68d7c1595c68dc315a5e97fcbf7 Mon Sep 17 00:00:00 2001 From: Madmadness65 Date: Sun, 23 Feb 2025 02:34:29 -0600 Subject: [PATCH] Make Pokemon name splash message weighted --- src/data/splash-messages.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data/splash-messages.ts b/src/data/splash-messages.ts index 8db3f2d77c2..d41ce7f1875 100644 --- a/src/data/splash-messages.ts +++ b/src/data/splash-messages.ts @@ -45,6 +45,8 @@ interface Season { /** The weight multiplier for the battles-won splash message */ const BATTLES_WON_WEIGHT_MULTIPLIER = 10; +/** The weight multiplier for the Pokémon names splash message */ +const POKEMON_NAMES_WEIGHT_MULTIPLIER = 5; /** The weight multiplier for the seasonal splash messages */ const SEASONAL_WEIGHT_MULTIPLIER = 10; @@ -52,7 +54,7 @@ const SEASONAL_WEIGHT_MULTIPLIER = 10; const commonSplashMessages = [ ...Array(BATTLES_WON_WEIGHT_MULTIPLIER).fill("battlesWon"), - "pokemon", + ...Array(POKEMON_NAMES_WEIGHT_MULTIPLIER).fill("pokemon"), "joinTheDiscord", "infiniteLevels", "everythingIsStackable",