From 5a893d9e311dfb75ff33a6d309287537b6865b93 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 3 Dec 2020 10:56:09 -0500 Subject: [PATCH] Fix --- commands/search/pokedex.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/search/pokedex.js b/commands/search/pokedex.js index 05bba0a4..3a970dd2 100644 --- a/commands/search/pokedex.js +++ b/commands/search/pokedex.js @@ -69,7 +69,8 @@ module.exports = class PokedexCommand extends Command { def: Math.round((data.stats.def / 255) * 10) * 2, sAtk: Math.round((data.stats.sAtk / 255) * 10) * 2, sDef: Math.round((data.stats.sDef / 255) * 10) * 2, - spd: Math.round((data.stats.spd / 255) * 10) * 2 + spd: Math.round((data.stats.spd / 255) * 10) * 2, + total: Math.round((data.baseStatTotal / 1530) * 10) * 2 }; const embed = new MessageEmbed() .setColor(0xED1C24) @@ -103,7 +104,7 @@ module.exports = class PokedexCommand extends Command { \`Sp. Defense: [${'█'.repeat(repeat.sDef)}${' '.repeat(20 - repeat.sDef)}]\` **${data.stats.sDef}** \`Speed: [${'█'.repeat(repeat.spd)}${' '.repeat(20 - repeat.spd)}]\` **${data.stats.spd}** \`-----------------------------------\` - \`Total: \` **${data.baseStatTotal}** + \`Total: [${'█'.repeat(repeat.total)}${' '.repeat(20 - repeat.total)}]\` **${data.baseStatTotal}** `) .addField('❯ Abilities', data.abilities.join(' / ')); if (data.cry) {