Rename HitCirclesCount -> HitCircleCount.

This commit is contained in:
Lucas A 2020-10-03 16:52:33 +02:00
parent d7747ebb2d
commit 27cc6c5046
3 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty
public double SpeedStrain;
public double ApproachRate;
public double OverallDifficulty;
public int HitCirclesCount;
public int HitCircleCount;
}
}

View File

@ -58,7 +58,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
ApproachRate = preempt > 1200 ? (1800 - preempt) / 120 : (1200 - preempt) / 150 + 5,
OverallDifficulty = (80 - hitWindowGreat) / 6,
MaxCombo = maxCombo,
HitCirclesCount = hitCirclesCount,
HitCircleCount = hitCirclesCount,
Skills = skills
};
}

View File

@ -168,7 +168,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
{
// This percentage only considers HitCircles of any value - in this part of the calculation we focus on hitting the timing hit window
double betterAccuracyPercentage;
int amountHitObjectsWithAccuracy = Attributes.HitCirclesCount;
int amountHitObjectsWithAccuracy = Attributes.HitCircleCount;
if (amountHitObjectsWithAccuracy > 0)
betterAccuracyPercentage = ((countGreat - (totalHits - amountHitObjectsWithAccuracy)) * 6 + countOk * 2 + countMeh) / (double)(amountHitObjectsWithAccuracy * 6);