mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 08:32:54 +08:00
fix spinners not increasing cumulative strain time (#31525)
Co-authored-by: StanR <hi@stanr.info>
This commit is contained in:
parent
0a21183e54
commit
974fa76987
@ -52,12 +52,12 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Evaluators
|
|||||||
var currentObj = (OsuDifficultyHitObject)current.Previous(i);
|
var currentObj = (OsuDifficultyHitObject)current.Previous(i);
|
||||||
var currentHitObject = (OsuHitObject)(currentObj.BaseObject);
|
var currentHitObject = (OsuHitObject)(currentObj.BaseObject);
|
||||||
|
|
||||||
|
cumulativeStrainTime += lastObj.StrainTime;
|
||||||
|
|
||||||
if (!(currentObj.BaseObject is Spinner))
|
if (!(currentObj.BaseObject is Spinner))
|
||||||
{
|
{
|
||||||
double jumpDistance = (osuHitObject.StackedPosition - currentHitObject.StackedEndPosition).Length;
|
double jumpDistance = (osuHitObject.StackedPosition - currentHitObject.StackedEndPosition).Length;
|
||||||
|
|
||||||
cumulativeStrainTime += lastObj.StrainTime;
|
|
||||||
|
|
||||||
// We want to nerf objects that can be easily seen within the Flashlight circle radius.
|
// We want to nerf objects that can be easily seen within the Flashlight circle radius.
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
smallDistNerf = Math.Min(1.0, jumpDistance / 75.0);
|
smallDistNerf = Math.Min(1.0, jumpDistance / 75.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user