Skip to content

Commit

Permalink
fix mistake on slideraim cap
Browse files Browse the repository at this point in the history
  • Loading branch information
Givikap120 committed Jan 27, 2025
1 parent 2089cc4 commit d01a0b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Osu/Difficulty/Skills/Reading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected override double StrainValueAt(DifficultyHitObject current)
double densityAimingFactor = ReadingEvaluator.EvaluateAimingDensityFactorOf(current);

// Reward slideraim but not bigger than 2 * sliderless aim
double aimDifficulty = Math.Max(AimEvaluator.EvaluateDifficultyOf(current, true), 2 * AimEvaluator.EvaluateDifficultyOf(current, true));
double aimDifficulty = Math.Min(AimEvaluator.EvaluateDifficultyOf(current, true), 2 * AimEvaluator.EvaluateDifficultyOf(current, true));

currentDensityAimStrain *= strainDecay(current.DeltaTime);
currentDensityAimStrain += densityAimingFactor * aimDifficulty * aimComponentMultiplier;
Expand Down

0 comments on commit d01a0b2

Please sign in to comment.