From af8a63576c35d5d9f18200e3e9678352704c2c24 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 10 Oct 2018 14:57:45 +0000 Subject: [PATCH] 1 in 3 --- commands/games/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games/battle.js b/commands/games/battle.js index 28ec7586..5c7cb487 100644 --- a/commands/games/battle.js +++ b/commands/games/battle.js @@ -49,7 +49,7 @@ module.exports = class BattleCommand extends Command { battle.attacker.changeGuard(); battle.reset(false); } else if (choice === 'special') { - const miss = Math.floor(Math.random() * 4); + const miss = Math.floor(Math.random() * 3); if (miss) { await msg.say(`${battle.attacker}'s special attack missed!`); } else {