Skip to content

Commit

Permalink
Revert "Merge pull request ppy#15728 from MBmasher/fl-decay"
Browse files Browse the repository at this point in the history
This reverts commit 377cb1d, reversing
changes made to 488e1f8.
  • Loading branch information
smoogipoo committed Jan 17, 2022
1 parent e83c83a commit 55c0e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Osu/Difficulty/Skills/Flashlight.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public Flashlight(Mod[] mods)
{
}

private double skillMultiplier => 0.07;
private double skillMultiplier => 0.15;
private double strainDecayBase => 0.15;
protected override double DecayWeight => 1.0;
protected override int HistoryLength => 10; // Look back for 10 notes is added for the sake of flashlight calculations.
Expand Down Expand Up @@ -61,7 +61,7 @@ private double strainValueOf(DifficultyHitObject current)
// We also want to nerf stacks so that only the first object of the stack is accounted for.
double stackNerf = Math.Min(1.0, (currentObj.LazyJumpDistance / scalingFactor) / 25.0);

result += stackNerf * scalingFactor * jumpDistance / cumulativeStrainTime;
result += Math.Pow(0.8, i) * stackNerf * scalingFactor * jumpDistance / cumulativeStrainTime;
}

lastObj = currentObj;
Expand Down

0 comments on commit 55c0e5e

Please sign in to comment.