From 49ed2f60d076a314bf5c5cae585d3ee9de5b2bb4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 May 2020 09:07:31 -0400 Subject: [PATCH] Fix --- commands/games-sp/akinator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/games-sp/akinator.js b/commands/games-sp/akinator.js index 9897743b..2a350823 100644 --- a/commands/games-sp/akinator.js +++ b/commands/games-sp/akinator.js @@ -57,7 +57,7 @@ module.exports = class AkinatorCommand extends Command { } if (msgs.first().content.toLowerCase() === 'end') forceGuess = true; else ans = answers.indexOf(msgs.first().content.toLowerCase()); - if (aki.progress >= 70 || forceGuess) { + if (aki.progress >= 90 || forceGuess) { await aki.win(); const guess = aki.answers[0]; const embed = new MessageEmbed() @@ -74,9 +74,9 @@ module.exports = class AkinatorCommand extends Command { win = false; break; } else { - const exMsg = aki.guessCount <= 3 || forceGuess ? 'I give up.' : 'I can keep going!'; + const exMsg = aki.guessCount >= 3 || forceGuess ? 'I give up.' : 'I can keep going!'; await msg.say(`Hmm... Is that so? ${exMsg}`); - if (aki.guessCount <= 3 || forceGuess) { + if (aki.guessCount >= 3 || forceGuess) { win = true; break; }