mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🐛 修复行迹10级报错 #449
This commit is contained in:
parent
8ffbf0d014
commit
4d9ae81663
@ -231,7 +231,7 @@ async def draw_character(chara: Character, uid: str):
|
||||
# 等级
|
||||
await bg.draw_rectangle(
|
||||
(65 + 113 * i, 1024, 104 + 113 * i, 1056),
|
||||
LEVEL_COLOR[(skill.level // 2 - 1) if skill.level < 10 else 5],
|
||||
LEVEL_COLOR[(skill.level // 2 - 1) if skill.level < 10 else 4],
|
||||
)
|
||||
await bg.text(
|
||||
str(skill.level),
|
||||
|
Loading…
Reference in New Issue
Block a user