mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user