1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 03:33:22 +08:00

Parameter tweaks

This commit is contained in:
vun 2022-06-09 12:35:26 +08:00
parent d8d4ac431e
commit 5793ca5534
2 changed files with 9 additions and 7 deletions

View File

@ -16,14 +16,14 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Evaluators
TaikoDifficultyHitObject taikoCurrent = (TaikoDifficultyHitObject)current;
TaikoDifficultyHitObjectColour colour = taikoCurrent.Colour;
if (colour == null) return 0;
double objectStrain = 1.6;
double objectStrain = 1.8;
if (colour.Delta)
{
objectStrain /= Math.Pow(colour.DeltaRunLength, 0.7);
objectStrain *= sigmoid(colour.DeltaRunLength, 6, 4) * 0.5 + 0.5;
}
else
{
objectStrain *= sigmoid(colour.DeltaRunLength, 4, 4) * 0.5 + 0.5;
objectStrain *= sigmoid(colour.DeltaRunLength, 2, 2) * 0.5 + 0.5;
}
objectStrain *= -sigmoid(colour.RepetitionInterval, 8, 8) * 0.5 + 0.5;
// Console.WriteLine($"{current.StartTime},{colour.GetHashCode()},{colour.Delta},{colour.DeltaRunLength},{colour.RepetitionInterval},{objectStrain}");

View File

@ -9,9 +9,10 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
{
public class CombinedStrain : Skill
{
private const double rhythm_skill_multiplier = 0.017;
private const double colour_skill_multiplier = 0.026;
private const double stamina_skill_multiplier = 0.018;
private const double final_multiplier = 0.00925;
private const double rhythm_skill_multiplier = 1.6 * final_multiplier;
private const double colour_skill_multiplier = 1.85 * final_multiplier;
private const double stamina_skill_multiplier = 1.85 * final_multiplier;
private Rhythm rhythm;
private Colour colour;
@ -63,7 +64,8 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
double rhythmPeak = rhythmPeaks[i] * rhythm_skill_multiplier;
double staminaPeak = staminaPeaks[i] * stamina_skill_multiplier;
double peak = norm(2, colourPeak, rhythmPeak, staminaPeak);
double peak = norm(1.5, colourPeak, staminaPeak);
peak = norm(2, peak, rhythmPeak);
// Sections with 0 strain are excluded to avoid worst-case time complexity of the following sort (e.g. /b/2351871).
// These sections will not contribute to the difficulty.