Fix mapping icons

This commit is contained in:
Pascal P. 2026-08-06 23:47:10 +02:00
parent 60807092fd
commit 81bd4d0d2b
1 changed files with 6 additions and 6 deletions

View File

@ -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