project-slippi / slippi-js

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

Doubles Stats #54

Closed OGoodness closed 3 years ago

OGoodness commented 3 years ago

Added the ability to calculate doubles stats. Treat every other player on the stage as an opponent during combo.

Change perspective of combos/conversions to be from the victims point of view. Combos now belong to the victim, you can identify whos combo it is by checking the moveIds. Conversions now also belong to the victim.

Can calculate stats for free-for-all, teams, and 1v1. Overall, the character handling should be more generalized.

Also added test cases for src/melee and src/console