1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 04:02:55 +08:00

xml, remove speedbonus cap

This commit is contained in:
Jay L 2022-10-02 16:08:14 +10:00
parent 4b562f782f
commit 6752655b5a
2 changed files with 3 additions and 5 deletions

View File

@ -16,10 +16,8 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Evaluators
/// <param name="interval">The interval between the current and previous note hit using the same key.</param>
private static double speedBonus(double interval)
{
// Cap to 600bpm 1/4, 25ms note interval, 50ms key interval
// Interval will be capped at a very small value to avoid infinite/negative speed bonuses.
// TODO - This is a temporary measure as we need to implement methods of detecting playstyle-abuse of SpeedBonus.
interval = Math.Max(interval, 50);
// Interval is capped at a very small value to prevent infinite values.
interval = Math.Max(interval, 1);
return 30 / interval;
}

View File

@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
if (totalSuccessfulHits > 0)
effectiveMissCount = Math.Max(1.0, 1000.0 / totalSuccessfulHits) * countMiss;
// We are disabling some HD and/or FL Bonus for converts for now due to them having low pattern difficulty, and thus being easy to memorize.
// TODO: The detection of rulesets is temporary until the leftover old skills have been reworked.
bool rulesetTaiko = score.BeatmapInfo.Ruleset.OnlineID == 1;
double multiplier = 1.13;