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 incorrect maximum accuracy display with recent slider end changes #25492

Closed
wants to merge 4 commits into from

Conversation

peppy
Copy link
Member

@peppy peppy commented Nov 17, 2023

Closes #25428. Regressed with #25342.

While this does fix the issue, I'm not confident in this one as a forward direction.

  • The complexity and ordering of ScoreProcessor.ApplyResultInternally annoys me.
  • If we're changing the way slider ends behave (ie. modifying judgements to support classic mod / results screen display requirements etc.) then this will likely have to change again, and might be handled in a nicer way.
  • In the first place, IsScoreable seems like a really weird check. We already have so many other related checks that this one feels like it shouldn't need to exist..

Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would agree with the sentiment in the OP that IsScorable is weird. I'd probably remove the condition from ScoreProcessor at this stage...

currentBonusPortion += GetBonusScoreChange(result);
else
currentComboPortion += GetComboScoreChange(result);
if (!result.Type.IsScorable())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this condition reversed, or am I misunderstanding this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm a bit confused how this happened. It should be inverse (I likely broke this in refactoring after actually testing this PR).

@smoogipoo
Copy link
Contributor

smoogipoo commented Nov 17, 2023

Also need to update RevertResult similarly, but I'm sure this was just a WIP PR and you're aware of that.

@peppy
Copy link
Member Author

peppy commented Nov 28, 2023

FWIW this PR is probably defunct based on forward direction with slider mechanics.

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.

Max achievable accuracy display is incorrect
2 participants