Skip to content

Commit

Permalink
🐛 修复行迹10级报错 #449
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Jun 14, 2023
1 parent 8ffbf0d commit 4d9ae81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LittlePaimon/plugins/star_rail_info/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4d9ae81

Please sign in to comment.