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

Adjust daily challenge tier thresholds to match expectations #30906

Merged
merged 5 commits into from
Nov 28, 2024

Conversation

Hiviexd
Copy link
Member

@Hiviexd Hiviexd commented Nov 28, 2024

See conversation in ppy/osu-wiki#12392 (comment)

Related to ppy/osu-web#11698

Color now changes when you reach the expected threshold, not surpass it.

Reason why rounding down instead of up in TierForPlayCount is more correct is to ensure consistent behavior with web, and because current implementation causes unexpected behavior with tier assignment for playcount:

Suppose I have 1079 in playCount, if we divide that by 3 we get 359.6666666666667, which gets rounded up to 360 with Math.Ceiling(), therefore giving it an incorrect Lustrous tier while logic dictates that 1080 should be the minimum amount for said tier.

@frenzibyte frenzibyte merged commit f664e97 into ppy:master Nov 28, 2024
8 of 9 checks passed
@Hiviexd Hiviexd deleted the daily-challenge-tier-thresholds branch November 29, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants