doshidak / showdex

Pokémon Showdown extension that harnesses the power of parabolic calculus to strategically extract your opponents' Elo.
GNU Affero General Public License v3.0
97 stars 18 forks source link

Inconsistency with showdown calc on speed #210

Closed nishtahir closed 1 month ago

nishtahir commented 1 month ago

Not sure if this is a legit bug or not but I noticed an inconsistency with Ribombee's speed in Calcdex vs the Showdown damage calculator. There's a 1 point difference in the speed stat

Screenshot 2024-07-28 at 12 58 30 AM Screenshot 2024-07-28 at 12 58 44 AM

I'm not sure what the cause of it is but I figured I'd report it just in case.

Replay in case it's helpful: https://replay.pokemonshowdown.com/gen9unratedrandombattle-2168759062-ifvjc9ma6k1wq0z49ua3bu9zlt0fn0gpw

doshidak commented 1 month ago

hey nice find! turns out it's actually a bug on our end with how we're calculating the SPE stat. I've updated the math to make sure it properly calculates it like the Damage Calculator.

calcdex-ribombee-pokestats

will be made available in this upcoming version, dropping soon. thanks for the detailed report! c: