🐛 用风系背景图暂替草系

This commit is contained in:
CMHopeSunshine 2022-08-24 15:20:57 +08:00
parent 9767818e5d
commit d026d285ac

View File

@ -133,7 +133,10 @@ async def draw_chara_detail(uid: str, info: Character):
align='right')
# 天赋
base_icon = await load_image(ENKA_RES / f'图标_{info.element}.png', mode='RGBA')
if info.element == '':
base_icon = await load_image(ENKA_RES / '图标_风.png', mode='RGBA')
else:
base_icon = await load_image(ENKA_RES / f'图标_{info.element}.png', mode='RGBA')
base_icon_grey = await load_image(ENKA_RES / '图标_灰.png', mode='RGBA')
if info.name in ['神里绫华', '莫娜']:
info.talents.pop(2)