chfoo / fogchamp

Pokémon Battle Revolution Matchup Visualizer for Twitch Plays Pokemon.
https://chfoo.github.io/fogchamp/
MIT License
4 stars 1 forks source link

Damage values are occasionally slightly too high (+1~+3) #2

Open Sauzels opened 6 years ago

Sauzels commented 6 years ago

idk how worried you are about a couple of damage points or if this is the right way to tell you but

I've seen min roll damage in the game do less than the visualizer's reported minimum roll, apparently because gen IV damage calculation has more floors than the Empire State Building. From rooting around in Pokémon Showdown's damage calculator:

I probably won't see it if you respond to this thread here but you should be able to find my Discord on the TPP channel.

chfoo commented 6 years ago

Thanks, the calculation should be more accurate now. For the last point, I probably won't be fixing that since there isn't a demand for the visualizer to have rich and accurate battle engine interactivity. (While I would like that, I haven't had the time to make one like Dhason's and Showdown's code doesn't work well as a library I could use.)