From ef1293ce80e6efc65cf9a9000601113b548c7976 Mon Sep 17 00:00:00 2001 From: offtkp Date: Tue, 13 Aug 2024 22:56:44 +0300 Subject: [PATCH] Adjust rarities --- src/retro_achievements.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/retro_achievements.cpp b/src/retro_achievements.cpp index 81ff9cd19..8d48b5f44 100644 --- a/src/retro_achievements.cpp +++ b/src/retro_achievements.cpp @@ -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