mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +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
|
||||
} armor, statistics, equipment, provisions, and more. ${Math.round(
|
||||
characteristics.dpm,
|
||||
).toLocaleString()} DPM, ${characteristics.damage}hp alpha, ${
|
||||
characteristics.penetration
|
||||
}mm penetration, ${
|
||||
characteristics.speedForwards
|
||||
}kph top speed, ${characteristics.health}hp health.`;
|
||||
).toLocaleString()} DPM, ${characteristics.damage.toFixed(0)}hp alpha, ${characteristics.penetration.toFixed(
|
||||
0,
|
||||
)}mm penetration, ${characteristics.speedForwards.toFixed(
|
||||
0,
|
||||
)}kph top speed, ${characteristics.health}hp health.`;
|
||||
---
|
||||
|
||||
<title>{title}</title>
|
||||
|
||||
Reference in new issue
Block a user