This commit is contained in:
@ -1,3 +1,4 @@
|
||||
const log = require("../log");
|
||||
exports.name = "ms";
|
||||
exports.description =
|
||||
":tada: Calculate moon staff 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 ${moonstaff + ups * 99}.`);
|
||||
};
|
||||
|
Reference in New Issue
Block a user