mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Fix
This commit is contained in:
@@ -139,9 +139,9 @@ module.exports = class YuGiOhGenCommand extends Command {
|
|||||||
typeStr += ' ]';
|
typeStr += ' ]';
|
||||||
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);
|
||||||
if (monsterType === 'link') ctx.fillText(def, 722, 1079);
|
if (monsterType === 'link') ctx.fillText(def, 722, 1079);
|
||||||
else ctx.fillText(def.padStart(4, ' '), 675, 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