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,
}); // returns 'Adamant'

Type Definitions

GetNatureNameParam

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

NameValue
PokemonStatId.ATTACK2
PokemonStatId.DEFENSE3
PokemonStatId.SPECIAL_ATTACK4
PokemonStatId.SPECIAL_DEFENSE5
PokemonStatId.SPEED6
PokemonStatName.ATTACK'attack'
PokemonStatName.DEFENSE'defense'
PokemonStatName.SPECIAL_ATTACK'special-attack'
PokemonStatName.SPECIAL_DEFENSE'special-defense'
PokemonStatName.SPEED'speed'

NatureName

An enumeration of all Pokémon natures.

NameValue
NatureName.ADAMANT'Adamant'
NatureName.BASHFUL'Bashful'
NatureName.BOLD'Bold'
NatureName.BRAVE'Brave'
NatureName.CALM'Calm'
NatureName.CAREFUL'Careful'
NatureName.DOCILE'Docile'
NatureName.GENTLE'Gentle'
NatureName.HARDY'Hardy'
NatureName.HASTY'Hasty'
NatureName.IMPISH'Impish'
NatureName.JOLLY'Jolly'
NatureName.LAX'Lax'
NatureName.LONELY'Lonely'
NatureName.MILD'Mild'
NatureName.MODEST'Modest'
NatureName.NAIVE'Naive'
NatureName.NAUGHTY'Naughty'
NatureName.QUIET'Quiet'
NatureName.QUIRKY'Quirky'
NatureName.RASH'Rash'
NatureName.RELAXED'Relaxed'
NatureName.SASSY'Sassy'
NatureName.SERIOUS'Serious'
NatureName.TIMID'Timid'