From 052a378a3c133a664267c687243bdb897ec7a6fe Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 10 Oct 2018 15:06:45 +0000 Subject: [PATCH] Attack more often than defend --- structures/battle/Battler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/battle/Battler.js b/structures/battle/Battler.js index 3e62d597..3fd13c15 100644 --- a/structures/battle/Battler.js +++ b/structures/battle/Battler.js @@ -14,7 +14,7 @@ module.exports = class Battler { async chooseAction(msg) { if (this.bot) { - const botChoices = ['attack', 'defend']; + const botChoices = ['attack', 'attack', 'defend']; if (this.canSpecial) botChoices.push('special'); if (this.canHeal) botChoices.push('cure'); return botChoices[Math.floor(Math.random() * botChoices.length)];