mirror of
https://github.com/osukey/osukey.git
synced 2025-07-07 19:29:55 +09:00
Start comments with upper case
This commit is contained in:
@ -257,7 +257,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
|
|
||||||
private int calculateEffectiveMissCount()
|
private int calculateEffectiveMissCount()
|
||||||
{
|
{
|
||||||
// guess the number of misses + slider breaks from combo
|
// Guess the number of misses + slider breaks from combo
|
||||||
double comboBasedMissCount = 0.0;
|
double comboBasedMissCount = 0.0;
|
||||||
|
|
||||||
if (Attributes.SliderCount > 0)
|
if (Attributes.SliderCount > 0)
|
||||||
@ -267,7 +267,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
|
|||||||
comboBasedMissCount = fullComboThreshold / Math.Max(1.0, scoreMaxCombo);
|
comboBasedMissCount = fullComboThreshold / Math.Max(1.0, scoreMaxCombo);
|
||||||
}
|
}
|
||||||
|
|
||||||
// we're clamping misscount because since its derived from combo it can be higher than total hits and that breaks some calculations
|
// We're clamping misscount because since its derived from combo it can be higher than total hits and that breaks some calculations
|
||||||
comboBasedMissCount = Math.Min(comboBasedMissCount, totalHits);
|
comboBasedMissCount = Math.Min(comboBasedMissCount, totalHits);
|
||||||
|
|
||||||
return Math.Max(countMiss, (int)Math.Floor(comboBasedMissCount));
|
return Math.Max(countMiss, (int)Math.Floor(comboBasedMissCount));
|
||||||
|
Reference in New Issue
Block a user