mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:42:55 +08:00
rename method to reflect being a method
This commit is contained in:
parent
430eb44446
commit
cc54fc5c1b
@ -38,7 +38,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty
|
|||||||
countOk = score.Statistics.GetValueOrDefault(HitResult.Ok);
|
countOk = score.Statistics.GetValueOrDefault(HitResult.Ok);
|
||||||
countMeh = score.Statistics.GetValueOrDefault(HitResult.Meh);
|
countMeh = score.Statistics.GetValueOrDefault(HitResult.Meh);
|
||||||
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
|
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
|
||||||
scoreAccuracy = customAccuracy();
|
scoreAccuracy = calculateCustomAccuracy();
|
||||||
|
|
||||||
// Arbitrary initial value for scaling pp in order to standardize distributions across game modes.
|
// Arbitrary initial value for scaling pp in order to standardize distributions across game modes.
|
||||||
// The specific number has no intrinsic meaning and can be adjusted as needed.
|
// The specific number has no intrinsic meaning and can be adjusted as needed.
|
||||||
@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Accuracy used to weight judgements independently from the score's actual accuracy.
|
/// Accuracy used to weight judgements independently from the score's actual accuracy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private double customAccuracy()
|
private double calculateCustomAccuracy()
|
||||||
{
|
{
|
||||||
if (totalHits == 0)
|
if (totalHits == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user