mirror of https://github.com/ppy/osu
Rename HitCirclesCount -> HitCircleCount.
This commit is contained in:
parent
d7747ebb2d
commit
27cc6c5046
|
@ -11,6 +11,6 @@ public class OsuDifficultyAttributes : DifficultyAttributes
|
|||
public double SpeedStrain;
|
||||
public double ApproachRate;
|
||||
public double OverallDifficulty;
|
||||
public int HitCirclesCount;
|
||||
public int HitCircleCount;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beat
|
|||
ApproachRate = preempt > 1200 ? (1800 - preempt) / 120 : (1200 - preempt) / 150 + 5,
|
||||
OverallDifficulty = (80 - hitWindowGreat) / 6,
|
||||
MaxCombo = maxCombo,
|
||||
HitCirclesCount = hitCirclesCount,
|
||||
HitCircleCount = hitCirclesCount,
|
||||
Skills = skills
|
||||
};
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ private double computeAccuracyValue()
|
|||
{
|
||||
// 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);
|
||||
|
|
Loading…
Reference in New Issue