KC3Kai / kancolle-replay

Sortie Replay and Simulation by @fourinone41
MIT License
52 stars 34 forks source link

Souya ammo consumption values causing NaN on ammo reports #65

Closed planetarian closed 2 years ago

planetarian commented 2 years ago

kcSHIPDATA.js lists Souya's fuel/ammo consumption as follows: AGS: 20, 5 AGL: 20, 0 AGB: 25, 0

According to other sources, rather than 5/0/0, the ammo value should be 10/5/5.

These 0 values are causing division by zero here (in the line handling ammo values): image

...which causes the ammo consumption values to become NaN'd: image