[Request] Show size rating for Rattata and Magikarp
The point for this is the medals, as they require to catch 300 XS Rattata and 300 XL Magikarps and knowing beforehand would be helpful.
There are already functions to show weight and height: https://github.com/alucas/Snorlax/blob/master/app/src/main/java/com/alucas/snorlax/module/pokemon/Pokemon.java#L157
I previously thought the medals were based solely on weight, but I've been searching a little and seems that the pokémon are being awarded a XS or XL rating as an overall, using the species base weight and height: https://www.reddit.com/r/TheSilphRoad/comments/55xq49/how_size_is_determined_in_pokemon_go_plus/
The research of this reddit user suggests the following: Height Ratio = Height/base_height Weight Ratio = Weight/base_weight Overall Size Ratio = Weight Ratio + Height Ratio (Overall Size Ratio <1.5 for XS and >2.5 for XL)
Since this research is not done via reverse enginering and the formula might not be exact, I suggest displaying the 3 values for rattata and magikarp (weigth, height and overall Size ratio) until we can confirm that the ratios are correct (hopefully by finding a 1.51 ratata and not being awarded the medal point, but a 1.50 awarding it). Also, I think the ratio should have at least two decimals.
By the way, I'm referring to notification, since this is pointless once the pokémon has been caught.
Hi,
What you want is already done by Snorlax : https://github.com/alucas/Snorlax/blob/master/app/src/main/java/com/alucas/snorlax/module/feature/encounter/EncounterNotification.java#L97
It use a different image in the encounter notification. https://github.com/alucas/Snorlax/blob/master/app/src/main/res/drawable/pokemon_019_youngster.png
But like you said, we probably can't reverse engineer those values because they probably are server exclusive. So the current used values might not be correct, but they are based on my own test. Please tel me if you think they are wrong.
Oh, I'm very sorry, I never realized the picture was different and since it was not on the feature list I though this wasn't implemented.
After knowing this, I've realized that I'm not using the default heads notification, so the icon is only displayed if I actively scroll down the notification bar. Would it be too much to ask for the XS/XL test be displayed next to the pokémon level in the notification?
A lot of people want to be able to customize the encounter notification. If I do that, I suppose I can add that information too.
Can you send me a screenshot of what you see on your device ? I'm curious.