mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 17:47:18 +08:00
Fix SpeedBonus xml
This commit is contained in:
parent
a66fd87274
commit
e82e11ead5
7
.idea/.idea.osu/.idea/discord.xml
generated
Normal file
7
.idea/.idea.osu/.idea/discord.xml
generated
Normal 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>
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user