mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 14:37:30 +08:00
consolidated if statements for getting effectiveMissCount and countSliderEndsDropped
This commit is contained in:
parent
3ac6a9f0ae
commit
29b1697a70
@ -48,13 +48,13 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
countMiss = score.Statistics.GetValueOrDefault(HitResult.Miss);
|
||||
countLargeTickMiss = score.Statistics.GetValueOrDefault(HitResult.LargeTickMiss);
|
||||
|
||||
if (!usingClassicSliderAccuracy)
|
||||
countSliderEndsDropped = osuAttributes.SliderCount - score.Statistics.GetValueOrDefault(HitResult.SliderTailHit);
|
||||
|
||||
if (usingClassicSliderAccuracy)
|
||||
effectiveMissCount = calculateEffectiveMissCount(osuAttributes);
|
||||
else
|
||||
{
|
||||
countSliderEndsDropped = osuAttributes.SliderCount - score.Statistics.GetValueOrDefault(HitResult.SliderTailHit);
|
||||
effectiveMissCount = countMiss;
|
||||
}
|
||||
|
||||
double multiplier = PERFORMANCE_BASE_MULTIPLIER;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user