mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🐛 修复 'AbyssInfo' object has no attribute 'info'
This commit is contained in:
parent
ca768df11b
commit
af5e1d7806
@ -189,7 +189,7 @@ async def draw_abyss_card(info: AbyssInfo):
|
|||||||
await img.paste(circle, (46, 485))
|
await img.paste(circle, (46, 485))
|
||||||
await img.paste(chara_img, (49, 488))
|
await img.paste(chara_img, (49, 488))
|
||||||
# 最多承伤
|
# 最多承伤
|
||||||
if info.info.max_take_damage is not None:
|
if info.max_take_damage is not None:
|
||||||
chara_img = PMImage(
|
chara_img = PMImage(
|
||||||
await load_image(
|
await load_image(
|
||||||
RESOURCE_BASE_PATH / 'avatar' / f'{info.max_take_damage.icon}.png',
|
RESOURCE_BASE_PATH / 'avatar' / f'{info.max_take_damage.icon}.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user