@pokecord/core
Version:
Pokécord core
33 lines (32 loc) • 872 B
JavaScript
const Natures = [
"Hardy",
"Lonely",
"Brave",
"Adamant",
"Naughty",
"Bold",
"Docile",
"Relaxed",
"Impish",
"Lax",
"Timid",
"Hasty",
"Serious",
"Jolly",
"Naive",
"Modest",
"Mild",
"Quiet",
"Bashful",
"Rash",
"Calm",
"Gentle",
"Sassy",
"Careful",
"Quirky"
];
// Random nature
Natures.random = function randomNature(){
return Natures[Math.floor(Math.random() * Natures.length)];
}
module.exports = Natures;