Skip to content

Commit

Permalink
<jx3>[feat]fix calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Sep 6, 2024
1 parent b6bb519 commit b6e2770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/jx3/calculator/dj.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async def generate_calculator_img_dujing(server: Optional[str], name: str, group
"skill": calculated_data["data"]["skills"][skill_sort],
"display": str(int(round(float(calculated_data["data"]["percent"][skill_sort][:-1])/float(calculated_data["data"]["percent"][0][:-1]), 2)*100)) + "%",
"percent": calculated_data["data"]["percent"][skill_sort],
"count": str(calculated_data["data"]["counts"][skill_sort]) + "(" + calculated_data["data"]["critical"] + "会心)",
"count": str(calculated_data["data"]["counts"][skill_sort]) + "(" + calculated_data["data"]["critical"][skill_sort] + "会心)",
"value": calculated_data["data"]["damages"][skill_sort]
})
)
Expand Down

0 comments on commit b6e2770

Please sign in to comment.