1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-05 10:33:22 +08:00

adjusted rake nerf to usage of new function

This commit is contained in:
Givikap120 2024-09-16 20:28:38 +03:00
parent 06c2b192b1
commit bba244981a
2 changed files with 1 additions and 4 deletions

View File

@ -24,9 +24,6 @@ namespace osu.Game.Rulesets.Osu.Difficulty
[JsonProperty("effective_miss_count")]
public double EffectiveMissCount { get; set; }
[JsonProperty("deviation")]
public double Deviation { get; set; }
[JsonProperty("speed_deviation")]
public double SpeedDeviation { get; set; }

View File

@ -365,7 +365,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty
private double calculateSpeedRakeNerf(OsuDifficultyAttributes attributes)
{
// Base speed value
double speedValue = 4 * Math.Pow(attributes.SpeedDifficulty, 3);
double speedValue = OsuStrainSkill.DifficultyToPerformance(attributes.SpeedDifficulty);
// Starting from this pp amount - penalty will be applied
double abusePoint = 100 + 260 * Math.Pow(22 / speedDeviation, 5.8);