feat: rounding in blitzkit embeds

This commit is contained in:
tresabhi committed 2024-12-22 20:30:08 -06:00
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>