mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +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):
|
||||
green: int = 0
|
||||
blue: int = 0
|
||||
purple: int = 0
|
||||
blue: int = 0
|
||||
green: int = 0
|
||||
|
||||
def add(self, other: "MultiValue"):
|
||||
self.green += other.green
|
||||
|
Loading…
Reference in New Issue
Block a user