pokemon-rogue-battle
Preparing search index...
data/mystery-encounters/utils/encounter-pokemon-utils
getRandomSpeciesByStarterCost
Function getRandomSpeciesByStarterCost
getRandomSpeciesByStarterCost
(
starterTiers
:
number
|
[
number
,
number
]
,
excludedSpecies
?:
Species
[]
,
types
?:
PokemonType
[]
,
allowSubLegendary
?:
boolean
,
allowLegendary
?:
boolean
,
allowMythical
?:
boolean
,
)
:
Species
NOTE: This returns ANY random species, including those locked behind eggs, etc.
Parameters
starterTiers
:
number
|
[
number
,
number
]
Optional
excludedSpecies
:
Species
[]
Optional
types
:
PokemonType
[]
allowSubLegendary
:
boolean
= true
allowLegendary
:
boolean
= true
allowMythical
:
boolean
= true
Returns
Species
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
pokemon-rogue-battle
Loading...
NOTE: This returns ANY random species, including those locked behind eggs, etc.