Skip to content

Commit

Permalink
Add Garnet rank color
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJentzsch committed Jan 26, 2023
1 parent 17bfac4 commit bc3dcdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blossom/authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bc3dcdc

Please sign in to comment.