xD
All checks were successful
Deploy bot / build-and-deploy (push) Successful in 14s

This commit is contained in:
2025-08-08 00:29:15 +02:00
parent 49cb0b37da
commit 45d2b2c352
4 changed files with 17 additions and 15 deletions

View File

@ -34,15 +34,15 @@ exports.hidden = false;
exports.run = (client, message, args) => {
if (!args[0])
return message.channel.send("Not enough arguments, consult <<help.");
let hbPoints = parseInt(args[0]);
if (isNaN(hbPoints))
let tbPoints = parseInt(args[0]);
if (isNaN(tbPoints))
return message.channel.send(
"Given argument is not a number. Consult <<help."
);
message.channel.send(
`With **${hbPoints}** points in your tower boost, you will boost towers with a ${get_damage_multiplier(
hbPoints
).toFixed(4)} multiplier.`
`With **${tbPoints}** points in your tower boost, you will boost towers with a **${get_damage_multiplier(
tbPoints
).toFixed(4)}** multiplier.`
);
};