mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Fix SpeedBonus xml
This commit is contained in:
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)
|
private static double speedBonus(double interval)
|
||||||
{
|
{
|
||||||
// Cap to 600bpm 1/4, 25ms note interval, 50ms key 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
|
// Interval will be capped at a very small value to avoid infinite/negative speed bonuses.
|
||||||
// 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 = Math.Max(interval, 50);
|
||||||
|
|
||||||
return 30 / interval;
|
return 30 / interval;
|
||||||
|
Reference in New Issue
Block a user