Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Pokemon Size settings #100

Closed
Fabio1988 opened this issue Apr 19, 2024 · 0 comments · Fixed by #101
Closed

Extended Pokemon Size settings #100

Fabio1988 opened this issue Apr 19, 2024 · 0 comments · Fixed by #101

Comments

@Fabio1988
Copy link
Collaborator

Hey, it would be really great to add the size settings to each pokemon (+ form if differs).

It's related to this discussion: Golbat

We would need information about the xxClass of the pokemon, and this information is contained in the gamemaster, unfortunately the extended template isn't considered from the generator for now.

This webhook receiver + bot is the first POC to support calculations, the main purpose would be that we could add that data to poracle-master.json - so poracle could calculate it

https://github.com/PickleRickVE/xxlbot

e.g.

{
  "templateId": "EXTENDED_V0019_POKEMON_RATTATA",
  "data": {
    "templateId": "EXTENDED_V0019_POKEMON_RATTATA",
    "pokemonExtendedSettings": {
      "uniqueId": "RATTATA",
      "sizeSettings": {
        "xxsLowerBound": 0.147,
        "xsLowerBound": 0.15,
        "mlowerBound": 0.225,
        "mupperBound": 0.375,
        "xlUpperBound": 0.45,
        "xxlUpperBound": 0.525
      }
    }
  }
}

the calculation in the application (e.g. poracle or xxlbot) would like like : 0.525 / ( ( 0.225+0.375 ) / 2 ) = 1.75 -> 1.75 would be the result used in the calculation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant