Skip to main content

Nature

Nature is a trait that each individual Pokémon has which influences how their stats grow and determines their flavor preferences. The mechanic was introduced in Generation III. A Pokémon's Nature usually affects the value of two of its stats, ultimately increasing one of its non-HP stats (Attack, Defense, Special Attack, Special Defense, or Speed) by 10% and decreasing another by 10%.

info

For more info about Pokémon Natures, visit Bulbapedia.

Methods​

getNatureName​

Returns Pokémon Nature regarding increased and decreased stats. Valid stats are only Attack, Defense, Special Attack, Special Defense, and Speed.

Signature​

getNatureName(increase: GetNatureNameParam, decrease: GetNatureNameParam) => NatureName
ParameterTypeRequiredDescription
increaseGetNatureNameParamYes

Increased stat of nature.

decreaseGetNatureNameParamYes

Decreased stat of nature.

Returns​

A string from NatureName enum.

Example​

getNatureName({
increase: PokemonStatName.ATTACK,
decrease: PokemonStatName.SPECIAL_ATTACK,
}); // outputs 'Adamant'

Type Definitions​

GetNatureNameParam​

An enumeration of stats from PokemonStatId and PokemonStatName, excluding HP.

Types
PokemonStatId.ATTACK
PokemonStatId.DEFENSE
PokemonStatId.SPECIAL_ATTACK
PokemonStatId.SPECIAL_DEFENSE
PokemonStatId.SPEED
PokemonStatName.ATTACK
PokemonStatName.DEFENSE
PokemonStatName.SPECIAL_ATTACK
PokemonStatName.SPECIAL_DEFENSE
PokemonStatName.SPEED

NatureName​

An enumeration of all Pokémon natures.

Types
NatureName.ADAMANT
NatureName.BASHFUL
NatureName.BOLD
NatureName.BRAVE
NatureName.CALM
NatureName.CAREFUL
NatureName.DOCILE
NatureName.GENTLE
NatureName.HARDY
NatureName.HASTY
NatureName.IMPISH
NatureName.JOLLY
NatureName.LAX
NatureName.LONELY
NatureName.MILD
NatureName.MODEST
NatureName.NAIVE
NatureName.NAUGHTY
NatureName.QUIET
NatureName.QUIRKY
NatureName.RASH
NatureName.RELAXED
NatureName.SASSY
NatureName.SERIOUS
NatureName.TIMID