Get nature effect
get_natureGet a nature's stat modifier: the 10% raised and lowered stats, or neutral for the five no-effect natures, to use in stat, damage, speed, and EV calculations.
Instructions
Get one nature's stat effect: the stat it raises 10% and the stat it lowers 10%, or a neutral effect for the five natures that change nothing (Hardy, Docile, Serious, Bashful, Quirky). Use it when assembling a set, since calculate_stats, calculate_damage, check_speed, and optimize_evs all take a nature name rather than a numeric modifier. Accepts nature names case-insensitively; unknown natures return an isError. Read-only and offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nature | Yes | Nature name, e.g. "Jolly", "Timid", "Impish". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gen | Yes | Generation the nature system was introduced in. | |
| name | Yes | Nature name, e.g. "Jolly". | |
| plus | No | Stat raised 10%, as a stat id such as "spe"; absent for the five neutral natures that change nothing. | |
| minus | No | Stat lowered 10%, as a stat id such as "spa"; absent for the five neutral natures that change nothing. |