🐛 Remove zzz character icon route

This commit is contained in:
xtaodada 2024-08-16 11:01:10 +08:00
parent b42a21b9d0
commit 2e47c66283
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -12,13 +12,6 @@ class ZZZBaseCharacter(APIModel):
element_type: int
rarity: str
@property
def icon(self) -> str:
return (
f"https://act-webstatic.hoyoverse.com/game_record/zzz/"
f"role_square_avatar/role_square_avatar_{self.id}.png"
)
class ZZZPartialCharacter(ZZZBaseCharacter):
"""Character without any equipment."""
@ -40,13 +33,6 @@ class ZZZBaseBuddy(APIModel):
rarity: str
level: int
@property
def icon(self) -> str:
return (
f"https://act-webstatic.hoyoverse.com/game_record/zzz/"
f"bangboo_square_avatar/bangboo_square_avatar_{self.id}.png"
)
class ZZZPartialBuddy(ZZZBaseBuddy):
"""Buddy"""