mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-18 17:48:52 +08:00
fix: 勇士显伤数据格式化
This commit is contained in:
parent
4e1f1b45c0
commit
5338a5d6de
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user