mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
Merge pull request #379 from mobyw/Bot
🐛 修复 `'AbyssInfo' object has no attribute 'info'`
This commit is contained in:
commit
06f5853fed
@ -189,7 +189,7 @@ async def draw_abyss_card(info: AbyssInfo):
|
||||
await img.paste(circle, (46, 485))
|
||||
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(
|
||||
await load_image(
|
||||
RESOURCE_BASE_PATH / 'avatar' / f'{info.max_take_damage.icon}.png',
|
||||
|
Loading…
Reference in New Issue
Block a user