This commit is contained in:
Dragon Fire
2020-11-21 20:27:12 -05:00
parent e8e7776659
commit 3a3c6c490d
+2 -2
View File
@@ -139,8 +139,8 @@ module.exports = class YuGiOhGenCommand extends Command {
typeStr += ' ]';
ctx.fillText(typeStr, 60, 894);
ctx.font = '29px Stone Serif';
ctx.fillText(atk, 514, 1079);
ctx.fillText(def, monsterType === 'link' ? 722 : 675, 1079);
ctx.fillText(atk.padStart(4, ' '), 514, 1079);
ctx.fillText(def.padStart(4, ' '), monsterType === 'link' ? 722 : 675, 1079);
} else if (type === 'spell') {
ctx.font = '35px Stone Serif Small Caps';
ctx.fillText('[ Spell Card ]', 479, 141);