Skip to content

Commit

Permalink
Fixes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
versx committed May 6, 2021
1 parent 234df34 commit 3809e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ router.post('/pokemon/edit/:id', async (req, res) => {
pkmn.form = form;
pkmn.minCp = 0;
// If pokemon is rare (Unown, Azelf, etc), set IV value to 0
pkmn.minIv = isUltraRarePokemon(pkmn.pokemonId) ? 0 : iv || 100;
pkmn.minIv = isUltraRarePokemon(pkmn.pokemonId) ? 0 : iv || 0;
pkmn.ivList = ivList;
pkmn.minLvl = min_lvl || 0;
pkmn.maxLvl = max_lvl || 35;
Expand Down

0 comments on commit 3809e62

Please sign in to comment.