From bc3dcdcb1934da640ee25b62a218d2c19fc209c6 Mon Sep 17 00:00:00 2001 From: Tim Jentzsch Date: Thu, 26 Jan 2023 12:36:51 +0100 Subject: [PATCH] Add Garnet rank color --- blossom/authentication/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blossom/authentication/models.py b/blossom/authentication/models.py index 15077f40..d01318d8 100644 --- a/blossom/authentication/models.py +++ b/blossom/authentication/models.py @@ -180,7 +180,9 @@ def get_rank(self, override: int = None) -> str: # noqa: C901 """ gamma = override if override else self.gamma - if gamma >= 20000: + if gamma >= 30000: + return "Garnet" + elif gamma >= 20000: return "Sapphire" elif gamma >= 10000: return "Jade"