mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-06 18:09:10 +00:00
Make Pokemon name splash message weighted
This commit is contained in:
parent
c9021a7317
commit
5fd9ba9d69
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user