From 937233e61566eadc76b6099be3308c5ef6942373 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 28 May 2023 18:21:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20LightCone=20rarity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/light_cone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/light_cone.py b/models/light_cone.py index 12ebb8b..21a6e24 100644 --- a/models/light_cone.py +++ b/models/light_cone.py @@ -48,4 +48,4 @@ class LightCone(BaseModel): @property def rarity(self) -> int: - return 5 - list[Quality].index(self.quality) + return 5 - list(Quality).index(self.quality)