This commit is contained in:
@ -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.`
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user