diff --git a/mihoyo_libs/get_image.py b/mihoyo_libs/get_image.py index 8d6d8b7c..08eec9db 100644 --- a/mihoyo_libs/get_image.py +++ b/mihoyo_libs/get_image.py @@ -1195,11 +1195,14 @@ async def draw_pic(uid: str, nickname: str, image: Optional[Match] = None, mode: under_chasms_maw = i # 层岩巨渊 - text_draw.text((477, 727), str(chasms_maw['exploration_percentage'] / 10) + '%', text_color, - genshin_font(22)) - text_draw.text((523, 753), str(under_chasms_maw['exploration_percentage'] / 10) + '%', text_color, - genshin_font(22)) - text_draw.text((500, 782), 'lv.' + str(under_chasms_maw['offerings'][0]['level']), text_color, genshin_font(22)) + if chasms_maw: + text_draw.text((477, 727), str(chasms_maw['exploration_percentage'] / 10) + '%', text_color, + genshin_font(22)) + text_draw.text((500, 782), 'lv.' + str(chasms_maw['offerings'][0]['level']), text_color, genshin_font(22)) + + if under_chasms_maw: + text_draw.text((523, 753), str(under_chasms_maw['exploration_percentage'] / 10) + '%', text_color, + genshin_font(22)) # 蒙德 text_draw.text((235, 600), str(mondstadt['exploration_percentage'] / 10) + '%', text_color, diff --git a/mihoyo_libs/mihoyo_bbs/index/help.png b/mihoyo_libs/mihoyo_bbs/index/help.png index af85cfd3..e3114fce 100644 Binary files a/mihoyo_libs/mihoyo_bbs/index/help.png and b/mihoyo_libs/mihoyo_bbs/index/help.png differ