Add current job
BIN
cj/bg/1.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
cj/bg/10.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
cj/bg/11.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
cj/bg/12.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
cj/bg/13.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
cj/bg/14.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
cj/bg/15.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cj/bg/16.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
cj/bg/17.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
cj/bg/18.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
cj/bg/19.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
cj/bg/2.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
cj/bg/20.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
cj/bg/21.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
cj/bg/22.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cj/bg/23.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
cj/bg/24.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
cj/bg/25.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
cj/bg/26.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
cj/bg/27.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
cj/bg/28.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
cj/bg/29.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
cj/bg/3.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
cj/bg/30.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
cj/bg/31.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
cj/bg/32.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
cj/bg/33.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
cj/bg/34.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
cj/bg/35.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
cj/bg/36.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
cj/bg/37.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
cj/bg/38.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
cj/bg/4.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
cj/bg/5.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
cj/bg/6.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
cj/bg/7.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
cj/bg/8.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
cj/bg/9.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
|
@ -136,6 +136,11 @@ class CardCreator {
|
||||||
|
|
||||||
this.imgBluemage = await loadImage(absolute('./cj/1/bluemage.png'));
|
this.imgBluemage = await loadImage(absolute('./cj/1/bluemage.png'));
|
||||||
|
|
||||||
|
this.imgJobBg = {};
|
||||||
|
for (var i = 1; i <= 38; i++) {
|
||||||
|
this.imgJobBg[i] = await loadImage(absolute(`./cj/bg/${i}.png`));
|
||||||
|
}
|
||||||
|
|
||||||
await this.countMountsMinions();
|
await this.countMountsMinions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,6 +251,8 @@ class CardCreator {
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.fillRect(rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
|
ctx.fillRect(rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
|
||||||
|
|
||||||
|
ctx.drawImage(this.imgJobBg[data.Character.ActiveClassJob.Class.ID], rectStartX, rectStartRow1Y, rectFullWidth, rectHeightRow1);
|
||||||
|
|
||||||
ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
ctx.fillRect(rectStartX, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
||||||
ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
ctx.fillRect(rectStartXHalf, rectStartRow2Y, rectHalfWidth, rectHeightRow2);
|
||||||
|
|
||||||
|
|