Use ClassJob from UnlockedState

This commit is contained in:
goat 2021-05-27 18:29:45 +02:00
parent 45b34da4de
commit 94833df5c4
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -251,7 +251,7 @@ class CardCreator {
ctx.beginPath();
ctx.fillRect(rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.Class.ID], rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.UnlockedState.ID], rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);