Include Convert Penalty

For low colour variance
This commit is contained in:
Jay L 2022-05-15 22:10:18 +10:00
parent d174099016
commit b44afb19b1
1 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,11 @@ protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beat
double staminaPenalty = simpleColourPenalty(staminaRating, colourRating);
staminaRating *= staminaPenalty;
if (beatmap.BeatmapInfo.Ruleset.OnlineID == 0 && colourRating < 0.05)
{
staminaPenalty *= 0.25;
}
double combinedRating = locallyCombinedDifficulty(colour, rhythm, stamina, staminaPenalty);
double separatedRating = norm(1.5, colourRating, rhythmRating, staminaRating);
double starRating = 1.4 * separatedRating + 0.5 * combinedRating;