This commit is contained in:
Dragon Fire
2020-11-21 20:29:33 -05:00
parent 3a3c6c490d
commit f9b5bcda11
+2 -1
View File
@@ -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);