farkam135 / GoIV

https://www.reddit.com/r/goiv
Other
372 stars 141 forks source link

ExtendedCpTierToken fix / Slakoth scan fix #1064

Closed thearaks closed 5 years ago

thearaks commented 5 years ago

ExtendedCpTierToken contained a big mistake: it only computed the max CP on special pokémon forms and not on all pokedéx. For a user that uses this token this means that every scan of a pokémon with max CP higher than the max CP of a special forms makes GoIV crash.

Since this also happens with Slakoth this became high priority and needs a quick release before this afternoon community day!

PS: I also optimized ExtendedCpTierToken initialization code