mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Fix
This commit is contained in:
@@ -140,7 +140,8 @@ module.exports = class YuGiOhGenCommand extends Command {
|
|||||||
ctx.fillText(typeStr, 60, 894);
|
ctx.fillText(typeStr, 60, 894);
|
||||||
ctx.font = '29px Stone Serif';
|
ctx.font = '29px Stone Serif';
|
||||||
ctx.fillText(atk.padStart(4, ' '), 514, 1079);
|
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') {
|
} else if (type === 'spell') {
|
||||||
ctx.font = '35px Stone Serif Small Caps';
|
ctx.font = '35px Stone Serif Small Caps';
|
||||||
ctx.fillText('[ Spell Card ]', 479, 141);
|
ctx.fillText('[ Spell Card ]', 479, 141);
|
||||||
|
|||||||
Reference in New Issue
Block a user