1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Update Ruleset.cs

This commit is contained in:
Givikap120 2023-11-10 15:05:26 +02:00
parent 9ef34fa51a
commit d0d334a371

View File

@ -391,10 +391,10 @@ namespace osu.Game.Rulesets
public virtual DifficultySection? CreateEditorDifficultySection() => null;
/// <summary>
/// Changes difficulty after they're adjusted according to rate.
/// Changes <see cref="BeatmapDifficulty"/> after they're adjusted according to rate.
/// Doesn't change any attributes by default.
/// </summary>
/// <param name="baseDifficulty">Difficulty attributes that will be changed</param>
/// <param name="baseDifficulty">>The <see cref="IBeatmapDifficultyInfo"/> that will be adjusted.</param>
/// <param name="rate">Rate of the gameplay. For example 1.5 for DT.</param>
/// <returns>Copy of difficulty info with values changed according to rate and ruleset-specific behaviour.</returns>
public virtual BeatmapDifficulty GetRateAdjustedDifficulty(IBeatmapDifficultyInfo baseDifficulty, double rate) => new BeatmapDifficulty(baseDifficulty);