Skip to content

Commit

Permalink
Expand comment to justify maximising bonus score
Browse files Browse the repository at this point in the history
Co-authored-by: Bartłomiej Dach <[email protected]>
  • Loading branch information
smoogipoo and bdach authored Sep 15, 2023
1 parent ed295ef commit 2abef4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osu.Game.Rulesets.Osu/Difficulty/OsuLegacyScoreSimulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ private void simulateHit(HitObject hitObject, ref LegacyScoreAttributes attribut
const double maximum_rotations_per_second = 477.0 / 60;

// Normally, this value depends on the final overall difficulty. For simplicity, we'll only consider the worst case that maximises bonus score.
// As we're primarily concerned with computing the maximum theoretical final score,
// this will have the final effect of slightly underestimating bonus score achieved on stable when converting from score V1.
const double minimum_rotations_per_second = 3;

double secondsDuration = spinner.Duration / 1000;
Expand Down

0 comments on commit 2abef4a

Please sign in to comment.