1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 19:07:45 +08:00

Fix SpeedBonus xml

This commit is contained in:
Jay L 2022-07-17 14:56:07 +10:00
parent a66fd87274
commit e82e11ead5
2 changed files with 9 additions and 2 deletions

7
.idea/.idea.osu/.idea/discord.xml generated Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="ASK" />
<option name="description" value="" />
</component>
</project>

View File

@ -17,8 +17,8 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Evaluators
private static double speedBonus(double interval)
{
// Cap to 600bpm 1/4, 25ms note interval, 50ms key interval
// This a is temporary measure to prevent mono abuses. Once that is properly addressed, interval will be
// capped at a very small value to avoid infinite/negative speed bonuses.
// 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);
return 30 / interval;