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