1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +08:00

Multiply opacityBonus to base strain

This commit is contained in:
MBmasher 2021-12-21 20:10:19 +11:00
parent 5d8968498c
commit c5de203aa5

View File

@ -74,7 +74,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
// Bonus based on how visible the object is.
double opacityBonus = 1.0 + max_opacity_bonus * (1.0 - osuCurrent.Opacity(currentHitObject.StartTime, hidden));
result += stackNerf * scalingFactor * jumpDistance / cumulativeStrainTime;
result += stackNerf * opacityBonus * scalingFactor * jumpDistance / cumulativeStrainTime;
}
lastObj = currentObj;