From d026d285ac7c70c6787792b03f77d4e9bdfdf447 Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Wed, 24 Aug 2022 15:20:57 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E7=94=A8=E9=A3=8E=E7=B3=BB=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E6=9A=82=E6=9B=BF=E8=8D=89=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LittlePaimon/plugins/Paimon_Info/draw_character_detail.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/LittlePaimon/plugins/Paimon_Info/draw_character_detail.py b/LittlePaimon/plugins/Paimon_Info/draw_character_detail.py index 6d9679b..d34f5c5 100644 --- a/LittlePaimon/plugins/Paimon_Info/draw_character_detail.py +++ b/LittlePaimon/plugins/Paimon_Info/draw_character_detail.py @@ -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)