Variables

Variables

base

Returns the cost of the Pokémon; if it is not found, it will return the base amount specified in the config.json file.

priceShiny

Returns the price you set in the config.json parameter called shiny. If it is Shiny, it will return that amount; if not, it will return 0.

priceLegendary

Returns the price you set in the config.json parameter called legendary. If it is Legendary, it will return that amount; if not, it will return 0.

happiness

It will return the amount of happiness the Pokémon has.

gender

It will return the price of the Pokémon's gender according to how it is set in the config.

form

It will return the price of the Pokémon's form according to how it is set in the config.

label

Label will return the sum of the prices of all the labels the Pokémon contains. For example, if gen1 is worth 100 and legendary is worth 1000, it will return 1100.

nature

It will return the price corresponding to the cost of its nature.

ability

It will return the price corresponding to the cost of its ability.

averageIvs

It will return the average of all its IVs.

averageEvs

It will return the average of all its EVs.

ball

It will return the price corresponding to the cost of the Pokémon's Pokéball.

catchRate

It will return the Pokémon's capture rate.

level

It will return the Pokémon's level.

totalIvs

It will return the sum of all its IVs.

totalEvs

It will return the sum of all its EVs.

shinyMultiplier

ShinyMultiplier will return the multiplier if it is shiny; if not, it will return 1.

legendaryMultiplier

LegendaryMultiplier will return the multiplier if it is legendary; if not, it will return 1.

mythicalMultiplier

MythicalMultiplier will return the multiplier if it is mythical; if not, it will return 1.

ultraBeastMultiplier

UltraBeastMultiplier will return the multiplier if it is an Ultra Beast; if not, it will return 1.

Last updated