-
Notifications
You must be signed in to change notification settings - Fork 78
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
Refactor GetMaxCombo
#227
Refactor GetMaxCombo
#227
Conversation
After checking some mania leaderboards it seems that max combo does differ between lazer and stable. If this PR goes through as-is, that means the shown value will be incorrect when intending to calculate stable attributes. The actual calculated attributes won't be affected though considering that their calculation in mania (currently) ignores combo. Regardless, the shown value will be closer to the actual combo than just |
In my opinion, the correct implementation here would be re-adding the This was a refactor I wanted to do some days ago but I got caught up in other stuff and haven't found time. Update: I found out CL does not exist in Mania. Therefore I believe it is best to just have all modes do exactly this. But I believe it might be better to follow what stan said here |
I removed the method entirely now 👌 Given that the max combo is in somewhat of a limbo until the stable-lazer difference can be handled properly in osu-tools, maybe it's better to hold off on this? |
I don't think it will be handled differently since there isn't really a need to. Mania has that combo difference as (afaik?) the only ruleset, and combo does not matter in PP there so its fine to go with Lazer combo, it's pretty much just display. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replacing the direct calculation of maximum combo with the IBeatmap.GetMaxCombo()
call seems to match 1:1 (tested) (except for disregardable differences between stable and lazer on mania), therefore this seems like a good change.
Take my meaningless approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say we'd want to rely on lazer's methods as much as possible anyway
Arguably for mania it should stay on zero but I'd say this should be fine.
Notably, if max combo calculation in lazer ever differs from stable for any mode, this will require better handling. As far as I know they currently coincide.