mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Fix
This commit is contained in:
@@ -69,7 +69,8 @@ module.exports = class PokedexCommand extends Command {
|
|||||||
def: Math.round((data.stats.def / 255) * 10) * 2,
|
def: Math.round((data.stats.def / 255) * 10) * 2,
|
||||||
sAtk: Math.round((data.stats.sAtk / 255) * 10) * 2,
|
sAtk: Math.round((data.stats.sAtk / 255) * 10) * 2,
|
||||||
sDef: Math.round((data.stats.sDef / 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()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0xED1C24)
|
.setColor(0xED1C24)
|
||||||
@@ -103,7 +104,7 @@ module.exports = class PokedexCommand extends Command {
|
|||||||
\`Sp. Defense: [${'█'.repeat(repeat.sDef)}${' '.repeat(20 - repeat.sDef)}]\` **${data.stats.sDef}**
|
\`Sp. Defense: [${'█'.repeat(repeat.sDef)}${' '.repeat(20 - repeat.sDef)}]\` **${data.stats.sDef}**
|
||||||
\`Speed: [${'█'.repeat(repeat.spd)}${' '.repeat(20 - repeat.spd)}]\` **${data.stats.spd}**
|
\`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(' / '));
|
.addField('❯ Abilities', data.abilities.join(' / '));
|
||||||
if (data.cry) {
|
if (data.cry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user