Add progressive score multiplier for HT

This commit is contained in:
Dan Balasescu
2023-04-10 13:35:48 +09:00
parent c923482976
commit 15f6bc155e
5 changed files with 14 additions and 4 deletions

View File

@ -24,5 +24,19 @@ namespace osu.Game.Rulesets.Mods
MaxValue = 0.99,
Precision = 0.01,
};
public override double ScoreMultiplier
{
get
{
// Round to the nearest multiple of 0.1.
double value = (int)(SpeedChange.Value * 10) / 10.0;
// Offset back to 0.
value -= 1;
return 1 + value;
}
}
}
}