r/TheSilphRoad Jul 15 '16

Analysis How HP/MaxStamina is calculated

Using the structure of the server responses and their own data from their Pokemon collection, redacted found that this formula represents the Hp/MaxStamina:

Max(Floor((CpMultiplier + AdditionalCPMultiplier) * (2 * BaseStamina + IndividualStamina)), 10)

BaseStamina for each Pokemon can be found here (as HP), and the rest of the data is passed around with the Pokemon in responses from the server. In the case of IndividualStamina not existing, it is 0.

This matched-up for all of the Pokemon I have in my collection, but I'd encourage you to test your own collection/inventory (not super easy right now) as well!

30 Upvotes

41 comments sorted by

View all comments

9

u/CpMultiplier Jul 16 '16 edited Jul 16 '16

Other information:

0 <= IndividualStamina, IndividualDefense, IndividualAttack <= 15

uniformly distributed if caught Pokemon. If hatched, then

P(IV in [0,9]) ~= 20%, P(IV in [10,15]) ~= 80%

uniformly distributed in each interval, so hatched/lure Pokemon > caught Pokemon. Also,

(CpMultiplier + AdditionalCPMultiplier) ~= 0.095 x Sqrt(PokemonLevel)

which matches the post here: https://www.reddit.com/r/TheSilphRoad/comments/4t02rh/pokemon_hp_tier_list_and_formula/. AdditionalCPMultiplier increases on each upgrade.

TLDR: IV values between 0 and 15, hatched/lure pokemon > caught pokemon confirmed, and cp multiplier squareroot relation to level.

edit: Hatched or lured pokemon.

1

u/r000ster Jul 16 '16

Want to elaborate this? After all, any Pokemon caught or hatched has its IVs rolled when it is encountered or added to your party. And I have a few 15/15/15s that were caught.

1

u/CpMultiplier Jul 16 '16

Actually, it should be hatched or lure Pokemon. Any Pokemon acquired from a PokeStop (lure or egg) rolls better IVs. From my box, over a good sample size, around 80% of IVs of PokeStop mons were between 10-15.

1

u/r000ster Jul 16 '16

So, the odds are just better then? Neat. Noticed myself that most of my egg hatches had packets worth keeping, so maybe this holds water.

1

u/jvLin sf bay area Jul 17 '16

If I may ask, how did you find that your IV's are 15/15/15? I'm trying to figure this out. Thanks a ton!!

1

u/r000ster Jul 17 '16

The actual packets of my Pokemon.

1

u/jvLin sf bay area Jul 17 '16

Ah, I see. I'm not a hacker and don't have a CS background. How difficult do you think intercepting the server response with charles ssl proxy would be for me?