smogon / damage-calc

Pokemon games damage calculator

Home Page:https://calc.pokemonshowdown.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GSC calc sometimes fails to calculate implied DVs

Lassoloc opened this issue · comments

When importing a set into the GSC calc that doesn't have full DVs, the HP DV (which is dependent on all the other DVs) sometimes comes out as NaN, which is then treated as 0. In the attached image, note the inconsistency between "guaranteed OHKO" (which is true with 0 DVs). and "99.3 - 117.1%" (which is true with the correct DV value of 15), as well as the HP stat appearing as 303 when it should be 333.

Screenshot