fix: 勇士显伤数据格式化

This commit is contained in:
unanmed 2023-09-27 20:15:35 +08:00
parent 4e1f1b45c0
commit 5338a5d6de

View File

@ -18,13 +18,13 @@ function drawHeroDetail(px: number, py: number) {
let i = 0;
for (const [key, value] of Object.entries(toDraw)) {
const ctx = core.canvas['hero'].canvas;
const ctx = core.canvas['hero'];
core.fillBoldText(
ctx,
value.value.toString(),
core.formatBigNumber(value.value),
px,
py - 10 * i,
value.color as string
value.color
);
i++;
}