New Challenger Image

This commit is contained in:
Daniel Odendahl Jr
2017-08-06 00:51:33 +00:00
parent c5f10083e0
commit ec25e6d3d3
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ module.exports = class BattleCommand extends Command {
} else if (choice === 'special') {
const hit = Math.floor(Math.random() * 4) + 1;
if (hit === 1) {
const damage = Math.floor((Math.random() * ((guard ? 300 : 150) - (100 + 1))) + 100);
const damage = Math.floor(Math.random() * (((guard ? 300 : 150) - 100) + 1)) + 100;
await msg.say(`${user} deals **${damage}** damage!`);
dealDamage(damage);
reset();