1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Apply Review Changes

This commit is contained in:
Jay L 2022-05-16 10:26:47 +10:00
parent d94e30bed3
commit 94294ba351
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
/// </summary> /// </summary>
public class SingleKeyStamina public class SingleKeyStamina
{ {
private double previousHitTime = -1; private double previousHitTime;
/// <summary> /// <summary>
/// Similar to <see cref="StrainDecaySkill.StrainValueOf(DifficultyHitObject)"/> /// Similar to <see cref="StrainDecaySkill.StrainValueOf(DifficultyHitObject)"/>

View File

@ -76,6 +76,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty
double staminaPenalty = simpleColourPenalty(staminaRating, colourRating); double staminaPenalty = simpleColourPenalty(staminaRating, colourRating);
staminaRating *= staminaPenalty; staminaRating *= staminaPenalty;
//TODO : This is a temporary fix for the stamina rating of converts, due to their low colour variance.
if (beatmap.BeatmapInfo.Ruleset.OnlineID == 0 && colourRating < 0.05) if (beatmap.BeatmapInfo.Ruleset.OnlineID == 0 && colourRating < 0.05)
{ {
staminaPenalty *= 0.25; staminaPenalty *= 0.25;