Make Pokemon name splash message weighted

This commit is contained in:
Madmadness65 2025-02-23 02:34:29 -06:00
parent c9021a7317
commit 5fd9ba9d69

View File

@ -45,6 +45,8 @@ interface Season {
/** The weight multiplier for the battles-won splash message */ /** The weight multiplier for the battles-won splash message */
const BATTLES_WON_WEIGHT_MULTIPLIER = 10; 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 */ /** The weight multiplier for the seasonal splash messages */
const SEASONAL_WEIGHT_MULTIPLIER = 10; const SEASONAL_WEIGHT_MULTIPLIER = 10;
@ -52,7 +54,7 @@ const SEASONAL_WEIGHT_MULTIPLIER = 10;
const commonSplashMessages = [ const commonSplashMessages = [
...Array(BATTLES_WON_WEIGHT_MULTIPLIER).fill("battlesWon"), ...Array(BATTLES_WON_WEIGHT_MULTIPLIER).fill("battlesWon"),
"pokemon", ...Array(POKEMON_NAMES_WEIGHT_MULTIPLIER).fill("pokemon"),
"joinTheDiscord", "joinTheDiscord",
"infiniteLevels", "infiniteLevels",
"everythingIsStackable", "everythingIsStackable",