mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 12:57:23 +08:00
Cap CS to 10 also
This commit is contained in:
parent
cf08293be1
commit
3f67d04429
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
public void ApplyToDifficulty(BeatmapDifficulty difficulty)
|
public void ApplyToDifficulty(BeatmapDifficulty difficulty)
|
||||||
{
|
{
|
||||||
const float ratio = 1.4f;
|
const float ratio = 1.4f;
|
||||||
difficulty.CircleSize *= 1.3f; // CS uses a custom 1.3 ratio.
|
difficulty.CircleSize = Math.Min(difficulty.CircleSize * 1.3f, 10.0f); // CS uses a custom 1.3 ratio.
|
||||||
difficulty.ApproachRate = Math.Min(difficulty.ApproachRate * ratio, 10.0f);
|
difficulty.ApproachRate = Math.Min(difficulty.ApproachRate * ratio, 10.0f);
|
||||||
difficulty.DrainRate = Math.Min(difficulty.DrainRate * ratio, 10.0f);
|
difficulty.DrainRate = Math.Min(difficulty.DrainRate * ratio, 10.0f);
|
||||||
difficulty.OverallDifficulty = Math.Min(difficulty.OverallDifficulty * ratio, 10.0f);
|
difficulty.OverallDifficulty = Math.Min(difficulty.OverallDifficulty * ratio, 10.0f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user