This commit is contained in:
Dragon Fire
2024-05-03 01:37:56 -04:00
parent 449e42305a
commit 2e5ce60b35
+2 -2
View File
@@ -126,9 +126,9 @@ module.exports = class YuGiOhGenCommand extends Command {
typeStr += ' ]';
ctx.fillText(typeStr, 60, 894);
ctx.font = this.client.fonts.get('Stone Serif.ttf').toCanvasString(29);
ctx.fillText(atk.padStart(4, ' '), 514, 1085);
ctx.fillText(atk.padStart(4, ' '), 514, 1085);
if (monsterType === 'link') ctx.fillText(def, 722, 1085);
else ctx.fillText(def.padStart(4, ' '), 675, 1085);
else ctx.fillText(def.padStart(4, ' '), 675, 1085);
} else if (type === 'spell') {
ctx.font = this.client.fonts.get('Stone Serif Small Caps.ttf').toCanvasString(35);
ctx.fillText('[ Spell Card ]', 479, 141);