Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@stanriders
Copy link
Member

@stanriders stanriders commented Mar 16, 2025

Slider-related diffcalc fields being in the slider hitobject itself while being set and used exclusively in diffcalc always annoyed me. This moves them to where they should be.

There are some tiny differences in difficulty values which I'm not really sure what to attribute to is probably related to the fact that we don't calculate slider distance for the second beatmap object now, but they're tiny enough to consider a non-issue in my opinion

@stanriders stanriders added code quality Fixes code quality. Not visible to the end user. ruleset/osu! area:difficulty labels Mar 16, 2025
@stanriders stanriders requested a review from a team March 16, 2025 19:47
@stanriders stanriders moved this to Pending Review in Difficulty calculation changes Mar 16, 2025
@stanriders
Copy link
Member Author

!diffcalc
RULESET=osu
OSU_A=https://github.com/ppy/osu/tree/pp-dev
OSU_B=#32410

@stanriders stanriders changed the base branch from master to pp-dev March 16, 2025 19:49
@github-actions
Copy link

Difficulty calculation failed: https://github.com/ppy/osu/actions/runs/13886809756

@github-actions
Copy link

Difficulty calculation failed: https://github.com/ppy/osu/actions/runs/13886809756

@github-actions
Copy link

Difficulty calculation failed: https://github.com/ppy/osu/actions/runs/13886809756

@stanriders
Copy link
Member Author

!diffcalc
RULESET=osu
OSU_A=https://github.com/ppy/osu/tree/pp-dev
OSU_B=#32410

@github-actions
Copy link

@tsunyoku tsunyoku moved this from Pending Review to Pending Merge in Difficulty calculation changes Apr 9, 2025
@tsunyoku tsunyoku enabled auto-merge (squash) April 9, 2025 12:34
@tsunyoku tsunyoku merged commit cf7fdc0 into ppy:pp-dev Apr 9, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge to Pending Deploy in Difficulty calculation changes Apr 9, 2025
@stanriders stanriders deleted the refactor-sliders-odho branch April 23, 2025 08:53
Finadoggie pushed a commit to Finadoggie/osu that referenced this pull request Aug 18, 2025
…Object` (ppy#32410)

* Move difficulty calculation fields from `Slider` to `OsuDifficultyHitObject`

* Remove redundant check

* Use `LastObject` where possible

* Update tests

* Make `LazyTravelDistance` `double`

---------

Co-authored-by: James Wilson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:difficulty code quality Fixes code quality. Not visible to the end user. ruleset/osu! size/L

Projects

Status: Deployed

Development

Successfully merging this pull request may close these issues.

2 participants