From af8ec2cf6e4122f32e9df6faa5fd19e4ccf5441c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 27 May 2017 19:44:53 +0000 Subject: [PATCH] Battle Update --- commands/games/battle.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commands/games/battle.js b/commands/games/battle.js index 41fc18b8..844d1ede 100644 --- a/commands/games/battle.js +++ b/commands/games/battle.js @@ -36,7 +36,11 @@ module.exports = class BattleCommand extends Command { let guard = false; while (userHP > 0 && oppoHP > 0) { const username = userTurn ? msg.author.username : opponent.username; - await msg.say(`${username}, do you fight, guard, special, or run?`); + await msg.say(stripIndents` + ${username}, do you fight, guard, special, or run? + ${username}: ${userTurn ? userHP : oppoHP} HP + ${userTurn ? opponent.username : msg.author.username}: ${userTurn ? oppoHP : userHP} HP + `); try { const turn = await msg.channel.awaitMessages(res => res.author.id === (userTurn ? msg.author.id : opponent.id), { max: 1,