From 9e6f6549de9b41663d44856fdec59ee7fccbbaad Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 5 May 2024 11:37:08 -0400 Subject: [PATCH] Update hunger-games.js --- commands/games-sp/hunger-games.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/commands/games-sp/hunger-games.js b/commands/games-sp/hunger-games.js index 5376da98..c3119272 100644 --- a/commands/games-sp/hunger-games.js +++ b/commands/games-sp/hunger-games.js @@ -130,8 +130,7 @@ module.exports = class HungerGamesCommand extends Command { const event = valid[Math.floor(Math.random() * valid.length)]; if (!event) { console.log(tribute); - console.log(types); - console.log(valid); + console.log(type); } turn.delete(tribute.name); if (event.tributes === 1) { @@ -184,7 +183,7 @@ module.exports = class HungerGamesCommand extends Command { } if (event.injured.includes(i)) tribu.injured = true; if (event.cures.includes(i)) tribu.injured = false; - tribute.sanity += event.sanity[i]; + tribu.sanity += event.sanity[i]; current.push(tribu); turn.delete(tribu.name); }