mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
Opt: Store higher rarity first
This commit is contained in:
parent
20309919d6
commit
b3b06e4b79
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user