mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: rounding in blitzkit embeds
This commit is contained in:
1 parent
670b678348
commit
c20caf45a2
1 file changed
+5
-5
@@ -71,11 +71,11 @@ const description = `${
|
|||||||
name
|
name
|
||||||
} armor, statistics, equipment, provisions, and more. ${Math.round(
|
} armor, statistics, equipment, provisions, and more. ${Math.round(
|
||||||
characteristics.dpm,
|
characteristics.dpm,
|
||||||
).toLocaleString()} DPM, ${characteristics.damage}hp alpha, ${
|
).toLocaleString()} DPM, ${characteristics.damage.toFixed(0)}hp alpha, ${characteristics.penetration.toFixed(
|
||||||
characteristics.penetration
|
0,
|
||||||
}mm penetration, ${
|
)}mm penetration, ${characteristics.speedForwards.toFixed(
|
||||||
characteristics.speedForwards
|
0,
|
||||||
}kph top speed, ${characteristics.health}hp health.`;
|
)}kph top speed, ${characteristics.health}hp health.`;
|
||||||
---
|
---
|
||||||
|
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
|
|||||||
Reference in new issue
Block a user