update logging
All checks were successful
Deploy bot / build-and-deploy (push) Successful in 16s

This commit is contained in:
2025-08-14 21:08:14 +02:00
parent c6c350ce0a
commit 94886ea397
5 changed files with 21 additions and 309 deletions

View File

@ -1,3 +1,4 @@
const log = require("../log");
exports.name = "cb";
exports.description =
":crossed_swords: Calculate calamity blade damage taking in to account projectile speed.";
@ -23,9 +24,8 @@ exports.run = (client, message, args) => {
return message.channel.send("Projectile speed should be a number.");
initialspeed = 30000 - initialspeed;
let t = Math.ceil(initialspeed / 1200);
console.log(t);
log.info(t);
ups = ups - t;
}
console.log(ups);
message.channel.send(`Should be ${cb + ups * 192}.`);
};