mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
Change difficulty colors and add ExpertPlus
ExpertPlus is for beatmaps above 6.75*
This commit is contained in:
parent
770d04956f
commit
05f5dfba81
@ -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