Skip to content

Commit

Permalink
Adjust rarities
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Aug 13, 2024
1 parent a6c705d commit ef1293c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/retro_achievements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,13 @@ namespace
std::string players = stream.str() + "% of players have this achievement";

uint32_t color;
if (rarity > 50) {
if (rarity > 30.0f) {
color = 0xff8fdba4;
} else if (rarity > 25) {
} else if (rarity > 20.0f) {
color = 0xffd49a8a;
} else if (rarity > 10) {
} else if (rarity > 5.0f) {
color = 0xffcc85bb;
} else if (rarity > 5) {
} else if (rarity > 1.5f) {
color = 0xff71b0e3;
} else {
color = 0xff000000; // rainbow
Expand Down

0 comments on commit ef1293c

Please sign in to comment.