UNPKG

@pokecord/core

Version:

Pokécord core

28 lines (25 loc) 784 B
/** * Returns spawn data structure * @param {string} name The pokémon name * @param {array of strings} names All the pokémon names including other countries/languages * @param {string} iv The pokémon's ivs * @param {number} ivPercentage The total percentage of the ivs * @param {number} lvl The level of the pokémon * @param {string} nature The nature of the pokémon * @param {number} xp The pokémons xp * @param {number} spawnAt The timestamp that a pokémon spawned at * @param {number} pokemonId The global dex number for the pokémon * @returns {object} Pokémon data object */ var SpawnData = { name: , names: [], iv: , ivPercentage: , lvl: , nature: , xp: , spawnAt: Date.now(), pokemonId: dexData.national_id } module.exports = SpawnData;