From 25f89d82a7c89deb04d785892541aadea04cace7 Mon Sep 17 00:00:00 2001 From: ArcaneDisgea Date: Fri, 28 May 2021 15:12:26 -0400 Subject: [PATCH] swap eureka and bozja spots --- create-card.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/create-card.js b/create-card.js index 532da11..8998a66 100644 --- a/create-card.js +++ b/create-card.js @@ -288,12 +288,13 @@ class CardCreator { if (data.Character.FreeCompanyName != null) { ctx.fillText("Free Company", 480, infoTextSmallStartY + infoTextSpacing * 3); } - if (data.Character.ClassJobsBozjan.Level != null) { - ctx.fillText("Resistance Rank & Mettle", 480, 425); - } if (data.Character.ClassJobsElemental.Level != null) { - ctx.fillText("Elemental Level", 480, 475); + ctx.fillText("Elemental Level", 480, 425); } + if (data.Character.ClassJobsBozjan.Level != null) { + ctx.fillText("Resistance Rank", 480, 475); + } + ctx.fillStyle = grey; ctx.font = smed; @@ -347,12 +348,12 @@ class CardCreator { ctx.font = smed; ctx.fillStyle = white; - if (data.Character.ClassJobsBozjan.Level != null) { - ctx.fillText(`Rank ${data.Character.ClassJobsBozjan.Level}`, 480, 450); + if (data.Character.ClassJobsElemental.Level != null) { + ctx.fillText(`${data.Character.ClassJobsElemental.Level}`, 480, 450); } - if (data.Character.ClassJobsElemental.Level != null) { - ctx.fillText(`${data.Character.ClassJobsElemental.Level}`, 480, 500); + if (data.Character.ClassJobsBozjan.Level != null) { + ctx.fillText(`Rank ${data.Character.ClassJobsBozjan.Level}`, 480, 500); } // Minion & Mount percentages