Opt: Store higher rarity first

This commit is contained in:
LmeSzinc 2024-05-30 21:30:33 +08:00
parent 20309919d6
commit b3b06e4b79

View File

@ -65,9 +65,9 @@ class BaseModelWithFallback(BaseModel):
class MultiValue(BaseModelWithFallback): class MultiValue(BaseModelWithFallback):
green: int = 0
blue: int = 0
purple: int = 0 purple: int = 0
blue: int = 0
green: int = 0
def add(self, other: "MultiValue"): def add(self, other: "MultiValue"):
self.green += other.green self.green += other.green