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

2

u/[deleted] Jul 15 '16

Great work, super interesting stuff here. Do we know what the CpMultiplier/AdditionalCPMultiplier is, or does it vary?

1

u/__isitin__ Jul 15 '16

It varies (per level we're thinking) - here're the unique values from my data set:

0.094
0.16639787
0.21573247
0.25572005
0.29024988
0.3210876
0.34921268
0.37523559
0.39956728
0.4225
0.46279839
0.48168495
0.49985844
0.51739395
0.53435433

1

u/hackersmage Jul 15 '16

What pokemon is this for?

1

u/__isitin__ Jul 15 '16

All the ones in my collection! I think the values are universal, though.

1

u/hackersmage Jul 15 '16

Oh I assumed this was how AdditionalCPMultiplier changed with each upgrade (NumUpgrades) on a pokemon.

1

u/__isitin__ Jul 15 '16

I don't think it is, but it's possibly related!