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

Encapsulate common HP logic from osu and catch HP calculations #25569

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

smoogipoo
Copy link
Contributor

One important change I've done that differs from either of the two implementations, is to increment a counter of hitobjects during the loop. I've done this only to avoid a .ToList() on the hitobjects. The count is used later on in checking hp recovery.

@bdach bdach added the next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! label Nov 27, 2023
@bdach bdach merged commit e2d5197 into ppy:master Nov 27, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! ruleset/osu!catch ruleset/osu! size/L type:code-quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants