Fix mapping icons
This commit is contained in:
parent
60807092fd
commit
81bd4d0d2b
|
|
@ -26,12 +26,12 @@ class Rarity(StrEnum):
|
|||
@property
|
||||
def icon(self) -> str:
|
||||
return {
|
||||
Self.Common: "⚪",
|
||||
Self.LessCommon: "🟢",
|
||||
Self.Rare: "🔵",
|
||||
Self.SuperRare: "🟣",
|
||||
Self.UltraRare: "🟠",
|
||||
Self.Legendary: "🌟",
|
||||
Rarity.Common: "⚪",
|
||||
Rarity.LessCommon: "🟢",
|
||||
Rarity.Rare: "🔵",
|
||||
Rarity.SuperRare: "🟣",
|
||||
Rarity.UltraRare: "🟠",
|
||||
Rarity.Legendary: "🌟",
|
||||
}[self]
|
||||
|
||||
@dataclass
|
||||
|
|
|
|||
Loading…
Reference in New Issue