Jump to content

CP / Height / Weight Calculations


Kaphotics
 Share

Recommended Posts

  • 1 year later...

Hello

I wanted to know what measurements PkHex is using for SwSh? I assumed PkHex automatically added the weight/height when you are genning a Pokemon, but I can see now that is not the case. I opened up a legitimate shiny Rilllaboom, which I obtained by breeding. PkHex says it's height is 114, and weighs 86. I'm thinking the weighting measures might go by kilos, as Serebii has Rilaboom as 90 kilos. Not sure what the height measures may be.

 

I just noticed something very important. I am viewing all the eggs I have bred of the same specie. They are all different in height and weight. Is this due to the fact that the Rillaboom parents I used, when gen with incorrect height and weight? Or is this an error on PkHex?

Edited by Iz.
Link to comment
Share on other sites

  • 3 weeks later...
On 11/18/2018 at 4:23 PM, Kaphotics said:

PKHeX is programmed in c#; the games are not. There are certain calculations that are done using floating point which end up with different results (between the two programming languages):

xROa6nd.png

Until a workaround is found, there may be some inaccuracy in the calculations (+/- 1 or ~0.0001)

Maybe you could create a table with the right (expected) values and then have PKHEX look for the right value using the approximate result from C#. Something like a dictionary for heights and weights.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...