1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:17:51 +08:00

fixed comments being wrong

This commit is contained in:
Givikap120 2024-08-03 13:00:24 +03:00
parent a6bc53ba56
commit 9afc956123

View File

@ -145,7 +145,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
(totalHits > 2000 ? Math.Log10(totalHits / 2000.0) * 0.5 : 0.0);
speedValue *= lengthBonus;
// Penalize misses by assessing # of misses relative to the total # of objects. Default a 3% reduction for any # of misses.
// Penalize misses by assessing # of misses relative to the total # of objects. Default a 3% reduction for at least 1 miss.
double missPenaltyBase = 1 - 0.03 * Math.Min(effectiveMissCount, 1);
speedValue *= missPenaltyBase * Math.Pow(1 - Math.Pow(effectiveMissCount / totalHits, 0.775), Math.Pow(effectiveMissCount, .875));
@ -228,7 +228,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
double flashlightValue = Math.Pow(attributes.FlashlightDifficulty, 2.0) * 25.0;
// Penalize misses by assessing # of misses relative to the total # of objects. Default a 3% reduction for any # of misses.
// Penalize misses by assessing # of misses relative to the total # of objects. Default a 3% reduction for at least 1 miss.
double missPenaltyBase = 1 - 0.03 * Math.Min(effectiveMissCount, 1);
flashlightValue *= missPenaltyBase * Math.Pow(1 - Math.Pow(effectiveMissCount / totalHits, 0.775), Math.Pow(effectiveMissCount, .875));