project-slippi / slippi-js

Parse slp files and compute stats
GNU Lesser General Public License v3.0
147 stars 78 forks source link

Add L cancel stats calculation #51

Closed vinceau closed 3 years ago

vinceau commented 3 years ago

This uses the naive method of calculating L cancel stats. i.e. it does not consider the ledge cancels into the success rate. It stores the L cancel success and failure count as a part of the action count object. The rate will need to be calculated manually.

This will allow the desktop app and other programs and applications to have a basic version of the L cancel rate statistic. People should be informed that it is a rough approximation because of the limitation as described above.