Rewrite Performance difficultyValue Calculation

To change values in line with the community survey, pp has been rescaled immensely, with changes on both the lower and upper end.
This commit is contained in:
Jay L 2022-05-15 22:11:01 +10:00
parent b44afb19b1
commit d94e30bed3
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ protected override PerformanceAttributes CreatePerformanceAttributes(ScoreInfo s
private double computeDifficultyValue(ScoreInfo score, TaikoDifficultyAttributes attributes) private double computeDifficultyValue(ScoreInfo score, TaikoDifficultyAttributes attributes)
{ {
double difficultyValue = Math.Pow(5.0 * Math.Max(1.0, attributes.StarRating / 0.0075) - 4.0, 2.0) / 100000.0; double difficultyValue = Math.Pow(5 * Math.Max(1.0, attributes.StarRating / 0.175) - 4.0, 2.25) / 450.0;
double lengthBonus = 1 + 0.1 * Math.Min(1.0, totalHits / 1500.0); double lengthBonus = 1 + 0.1 * Math.Min(1.0, totalHits / 1500.0);
difficultyValue *= lengthBonus; difficultyValue *= lengthBonus;