vinnymac / PokeNurse

💉 A tool for Pokémon Go to aid in transferring and evolving Pokémon
283 stars 48 forks source link

Visualize the level of a Pokémon #181

Open Danny-0815 opened 7 years ago

Danny-0815 commented 7 years ago

I really would appreciate an addition of a display, which shows me the actual level of a Pokémon instead of the half-circle-bar only.

vinnymac commented 7 years ago

I can put this together, but I would need someone to point me to the math for calculating the level. Not sure what that entails or if it is different for PoGo.

Rplus commented 7 years ago

Here is my fork version with level of PMs.

You can get the level like this: utils.getLevelFromCpMultiplier(totalCpMultiplier) https://github.com/Rplus/PokeNurse/blob/rplus-dev/app/actions/trainer.js#L102

image

vinnymac commented 7 years ago

Completely forgot that I added the getLevelFromCPMultiplier method, not sure where the information should go yet. Cluttering the table upsets users, so I'll have to think about it.

Danny-0815 commented 7 years ago

Although it would be nice to have the level in a Pokémon's detailed window, too, I would rather prefer it in the overview, if both is not possible - just like in Rplus' attached image above, that's great. But then of course as an actual, individual column, which makes it possible to sort the Pokémon by their respective level.

BTW, @Rplus, what is the percentage next to level in your fork version?

Rplus commented 7 years ago

@Danny-0815 , the percentage value is PR of the PM's CP. formula: (PM CP) / (PM maxCP - minCP)

I just use the percentage value to check whether the PM is strong or not. :)