mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:42:54 +08:00
Multiply opacityBonus
to base strain
This commit is contained in:
parent
5d8968498c
commit
c5de203aa5
@ -74,7 +74,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
|
|||||||
// Bonus based on how visible the object is.
|
// Bonus based on how visible the object is.
|
||||||
double opacityBonus = 1.0 + max_opacity_bonus * (1.0 - osuCurrent.Opacity(currentHitObject.StartTime, hidden));
|
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;
|
lastObj = currentObj;
|
||||||
|
Loading…
Reference in New Issue
Block a user