🐛 修复版本深渊4.211出现的波数显示问题

This commit is contained in:
KimigaiiWuyi 2023-10-25 04:26:46 +08:00
parent 5843d52b04
commit 3e14420334

View File

@ -59,7 +59,8 @@ async def get_half_img(data: List, half: Literal['Upper', 'Lower']):
ver = up['Vers'][0]
continue
for index, wave in enumerate(data):
index = 0
for wave in data:
if ver is not None and wave['Vers'][0] != ver:
continue
monsters = wave['Monsters']
@ -146,6 +147,7 @@ async def get_half_img(data: List, half: Literal['Upper', 'Lower']):
(5 + (m_index % 3) * 360, 83 + (m_index // 3) * 110 + temp),
monster_img,
)
index += 1
temp += wave_monster_uh
tag = upper_tag if half == 'Upper' else lower_tag