mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 16:27:43 +08:00
Clamp estimatedSliderEndsDrop
This commit is contained in:
parent
77814ec69f
commit
759a82655c
@ -136,7 +136,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
||||
if (score.IsLegacyScore)
|
||||
estimateSliderEndsDropped = Math.Clamp(Math.Min(countOk + countMeh + countMiss, attributes.MaxCombo - scoreMaxCombo), 0, estimateDifficultSliders);
|
||||
else
|
||||
estimateSliderEndsDropped = countSliderEndsDropped;
|
||||
estimateSliderEndsDropped = Math.Min(countSliderEndsDropped + countLargeTickMiss, estimateDifficultSliders); ;
|
||||
|
||||
double sliderNerfFactor = 0;
|
||||
sliderNerfFactor = (1 - attributes.SliderFactor) * Math.Pow(1 - estimateSliderEndsDropped / estimateDifficultSliders, 3) + attributes.SliderFactor;
|
||||
|
Loading…
Reference in New Issue
Block a user