mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Merge pull request #1213 from tom-arrow/difficulty-colors
New difficulty colors
This commit is contained in:
commit
cd488a6336
@ -33,7 +33,8 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
Normal,
|
||||
Hard,
|
||||
Insane,
|
||||
Expert
|
||||
Expert,
|
||||
ExpertPlus
|
||||
}
|
||||
|
||||
private DifficultyRating getDifficultyRating(BeatmapInfo beatmap)
|
||||
@ -44,7 +45,8 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
if (rating < 2.25) return DifficultyRating.Normal;
|
||||
if (rating < 3.75) return DifficultyRating.Hard;
|
||||
if (rating < 5.25) return DifficultyRating.Insane;
|
||||
return DifficultyRating.Expert;
|
||||
if (rating < 6.75) return DifficultyRating.Expert;
|
||||
return DifficultyRating.ExpertPlus;
|
||||
}
|
||||
|
||||
private Color4 getColour(BeatmapInfo beatmap)
|
||||
@ -55,12 +57,14 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
return palette.Green;
|
||||
default:
|
||||
case DifficultyRating.Normal:
|
||||
return palette.Yellow;
|
||||
return palette.Blue;
|
||||
case DifficultyRating.Hard:
|
||||
return palette.Pink;
|
||||
return palette.Yellow;
|
||||
case DifficultyRating.Insane:
|
||||
return palette.Purple;
|
||||
return palette.Pink;
|
||||
case DifficultyRating.Expert:
|
||||
return palette.Purple;
|
||||
case DifficultyRating.ExpertPlus:
|
||||
return palette.Gray0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user