Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edge-case stats calculation #57

Merged
merged 18 commits into from
Feb 17, 2021

Conversation

OGoodness
Copy link
Contributor

@OGoodness OGoodness commented Feb 15, 2021

This PR fixes two critical issues with stats calculation:

  1. command grabs are not included in conversions
  2. total damage calculation is too naive and does not account for damage recovery, pichu's self damage, and blast zone damage

New Slippi files are included for tests including:

  • Bowser Side Special and variations
  • Falcon Hug
  • Ganon Hug
  • Kirby Swallow/Release/Breakout
  • Yoshi Egg Lay

test/stats.spec.ts Outdated Show resolved Hide resolved
src/stats/common.ts Outdated Show resolved Hide resolved
src/stats/common.ts Outdated Show resolved Hide resolved
src/stats/common.ts Outdated Show resolved Hide resolved
@vinceau vinceau changed the title Edge Case Test Coverage Fix edge-case stats calculation Feb 17, 2021
@vinceau vinceau merged commit 673d21b into project-slippi:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants