This commit is contained in:
baiqwerdvd 2024-02-06 13:06:39 +08:00
commit 38aabb6137
No known key found for this signature in database
GPG Key ID: 51E3BFDDC6F39F25

View File

@ -161,8 +161,8 @@ async def draw_abyss_img(
# 获取查询者数据 # 获取查询者数据
if floor: if floor:
floor_num = 1 floor_num = 1
if floor > 10: if floor > 12:
return '楼层不能大于10层!' return '楼层不能大于12层!'
if len(raw_abyss_data.all_floor_detail) < floor: if len(raw_abyss_data.all_floor_detail) < floor:
return '你还没有挑战该层!' return '你还没有挑战该层!'
else: else:
@ -221,7 +221,7 @@ async def draw_abyss_img(
img_draw.text( img_draw.text(
(695, 590), (695, 590),
f'{raw_abyss_data.star_num}/30', f'{raw_abyss_data.star_num}/36',
white_color, white_color,
sr_font_42, sr_font_42,
'lm', 'lm',