diff --git a/commands/games/battle.js b/commands/games/battle.js index 1f50ba94..2afd0513 100644 --- a/commands/games/battle.js +++ b/commands/games/battle.js @@ -60,8 +60,9 @@ module.exports = class BattleCommand extends Command { battle.attacker.useMP(50); battle.reset(); } else if (choice === 'cure') { - await msg.say(`${battle.attacker} heals **${battle.attacker.mp}** HP!`); - battle.attacker.heal(Math.round(battle.attacker.mp / 2)); + const amount = Math.round(battle.attacker.mp / 2); + await msg.say(`${battle.attacker} heals **${amount}** HP!`); + battle.attacker.heal(amount); battle.attacker.useMP(battle.attacker.mp); battle.reset(); } else if (choice === 'final') { diff --git a/package.json b/package.json index 1d1670bc..168c70a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "94.0.1", + "version": "94.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {