mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Update with latest changes
This commit is contained in:
parent
9461097b00
commit
5852a37eb7
@ -49,7 +49,6 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
|
||||
// Penalty for notes so slow that alting is not necessary.
|
||||
private double speedPenalty(double noteLengthMS)
|
||||
{
|
||||
|
||||
if (noteLengthMS < 80) return 1;
|
||||
// return Math.Max(0, 1.4 - 0.005 * noteLengthMS);
|
||||
if (noteLengthMS < 210) return Math.Max(0, 1.4 - 0.005 * noteLengthMS);
|
||||
|
@ -31,6 +31,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
||||
|
||||
private double simpleColourPenalty(double staminaDifficulty, double colorDifficulty)
|
||||
{
|
||||
if (colorDifficulty <= 0) return 0.79 - 0.25;
|
||||
return 0.79 - Math.Atan(staminaDifficulty / colorDifficulty - 12) / Math.PI / 2;
|
||||
}
|
||||
|
||||
@ -123,6 +124,8 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
|
||||
|
||||
for (int i = 2; i < beatmap.HitObjects.Count; i++)
|
||||
{
|
||||
// Check for negative durations
|
||||
if (beatmap.HitObjects[i].StartTime > beatmap.HitObjects[i - 1].StartTime && beatmap.HitObjects[i - 1].StartTime > beatmap.HitObjects[i - 2].StartTime)
|
||||
taikoDifficultyHitObjects.Add(new TaikoDifficultyHitObject(beatmap.HitObjects[i], beatmap.HitObjects[i - 1], beatmap.HitObjects[i - 2], clockRate, rhythm));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user