diff --git a/commands/edit-image/yu-gi-oh-gen.js b/commands/edit-image/yu-gi-oh-gen.js index ba26cabd..a28aadf1 100644 --- a/commands/edit-image/yu-gi-oh-gen.js +++ b/commands/edit-image/yu-gi-oh-gen.js @@ -140,7 +140,8 @@ module.exports = class YuGiOhGenCommand extends Command { ctx.fillText(typeStr, 60, 894); ctx.font = '29px Stone Serif'; ctx.fillText(atk.padStart(4, ' '), 514, 1079); - ctx.fillText(def.padStart(4, ' '), monsterType === 'link' ? 722 : 675, 1079); + if (monsterType === 'link') ctx.fillText(def, 722, 1079); + else ctx.fillText(def.padStart(4, ' '), 675, 1079); } else if (type === 'spell') { ctx.font = '35px Stone Serif Small Caps'; ctx.fillText('[ Spell Card ]', 479, 141);