Add/update etched artifact+land frames

This commit is contained in:
Josh birnholz
2023-05-04 02:44:45 -04:00
parent 22b1f86d09
commit 36690babef
22 changed files with 14 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 KiB

After

Width:  |  Height:  |  Size: 905 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 881 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 911 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 681 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -624,6 +624,8 @@ function cardFrameProperties(colors, manaCost, typeLine, power, style) {
} else if (style == 'Etched') { } else if (style == 'Etched') {
if (colors.length > 2) { if (colors.length > 2) {
typeTitle = 'M'; typeTitle = 'M';
} else if (colors.length == 1) {
typeTitle = colors[0];
} else { } else {
typeTitle = 'L'; typeTitle = 'L';
} }
@@ -1633,10 +1635,6 @@ function makeUBFrameByLetter(letter, mask = false, maskToRightHalf = false) {
return frame; return frame;
} }
function makeEtchedFrameByLetter(letter, mask = false, maskToRightHalf = false) { function makeEtchedFrameByLetter(letter, mask = false, maskToRightHalf = false) {
if (letter == 'L') {
letter = 'C';
}
letter = letter.toUpperCase(); letter = letter.toUpperCase();
var frameNames = { var frameNames = {
'W': 'White', 'W': 'White',

View File

@@ -12,6 +12,7 @@ availableFrames = [
{name:'Green Frame', src:'/img/frames/etched/regular/g.png', masks:masks}, {name:'Green Frame', src:'/img/frames/etched/regular/g.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/etched/regular/m.png', masks:masks}, {name:'Multicolored Frame', src:'/img/frames/etched/regular/m.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/etched/regular/a.png', masks:masks}, {name:'Artifact Frame', src:'/img/frames/etched/regular/a.png', masks:masks},
{name:'Land Frame', src:'/img/frames/etched/regular/l.png', masks: masks},
{name:'Colorless Frame', src:'/img/frames/etched/regular/c.png', masks:masks}, {name:'Colorless Frame', src:'/img/frames/etched/regular/c.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/etched/regular/pt/w.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/etched/regular/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/etched/regular/pt/u.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/etched/regular/pt/u.png', bounds:bounds},
@@ -20,15 +21,17 @@ availableFrames = [
{name:'Green Power/Toughness', src:'/img/frames/etched/regular/pt/g.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/etched/regular/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/etched/regular/pt/m.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/etched/regular/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/etched/regular/pt/a.png', bounds:bounds}, {name:'Artifact Power/Toughness', src:'/img/frames/etched/regular/pt/a.png', bounds:bounds},
{name:'Land Power/Toughness', src:'/img/frames/etched/regular/pt/l.png', bounds:bounds},
{name:'Colorless Power/Toughness', src:'/img/frames/etched/regular/pt/c.png', bounds:bounds}, {name:'Colorless Power/Toughness', src:'/img/frames/etched/regular/pt/c.png', bounds:bounds},
{name:'White Legend Crown', src:'/img/frames/etched/regular/crowns/w.png', bounds:bounds3, complementary:24}, {name:'White Legend Crown', src:'/img/frames/etched/regular/crowns/w.png', bounds:bounds3, complementary:27},
{name:'Blue Legend Crown', src:'/img/frames/etched/regular/crowns/u.png', bounds:bounds3, complementary:24}, {name:'Blue Legend Crown', src:'/img/frames/etched/regular/crowns/u.png', bounds:bounds3, complementary:27},
{name:'Black Legend Crown', src:'/img/frames/etched/regular/crowns/b.png', bounds:bounds3, complementary:24}, {name:'Black Legend Crown', src:'/img/frames/etched/regular/crowns/b.png', bounds:bounds3, complementary:27},
{name:'Red Legend Crown', src:'/img/frames/etched/regular/crowns/r.png', bounds:bounds3, complementary:24}, {name:'Red Legend Crown', src:'/img/frames/etched/regular/crowns/r.png', bounds:bounds3, complementary:27},
{name:'Green Legend Crown', src:'/img/frames/etched/regular/crowns/g.png', bounds:bounds3, complementary:24}, {name:'Green Legend Crown', src:'/img/frames/etched/regular/crowns/g.png', bounds:bounds3, complementary:27},
{name:'Multicolored Legend Crown', src:'/img/frames/etched/regular/crowns/m.png', bounds:bounds3, complementary:24}, {name:'Multicolored Legend Crown', src:'/img/frames/etched/regular/crowns/m.png', bounds:bounds3, complementary:27},
{name:'Artifact Legend Crown', src:'/img/frames/etched/regular/crowns/a.png', bounds:bounds3, complementary:24}, {name:'Artifact Legend Crown', src:'/img/frames/etched/regular/crowns/a.png', bounds:bounds3, complementary:27},
{name:'Colorless Crown', src:'/img/frames/etched/regular/crowns/c.png', bounds:bounds3, complementary:24}, {name:'Land Crown', src:'/img/frames/etched/regular/crowns/l.png', bounds:bounds3, complementary:27},
{name:'Colorless Crown', src:'/img/frames/etched/regular/crowns/c.png', bounds:bounds3, complementary:27},
{name:'Legend Crown Cover', src:'/img/frames/etched/regular/crowns/cover.svg'}, {name:'Legend Crown Cover', src:'/img/frames/etched/regular/crowns/cover.svg'},
{name:'White Holo Stamp', src:'/img/frames/etched/regular/holo/w.png', bounds:bounds2}, {name:'White Holo Stamp', src:'/img/frames/etched/regular/holo/w.png', bounds:bounds2},
{name:'Blue Holo Stamp', src:'/img/frames/etched/regular/holo/u.png', bounds:bounds2}, {name:'Blue Holo Stamp', src:'/img/frames/etched/regular/holo/u.png', bounds:bounds2},
@@ -37,6 +40,7 @@ availableFrames = [
{name:'Green Holo Stamp', src:'/img/frames/etched/regular/holo/g.png', bounds:bounds2}, {name:'Green Holo Stamp', src:'/img/frames/etched/regular/holo/g.png', bounds:bounds2},
{name:'Multicolored Holo Stamp', src:'/img/frames/etched/regular/holo/m.png', bounds:bounds2}, {name:'Multicolored Holo Stamp', src:'/img/frames/etched/regular/holo/m.png', bounds:bounds2},
{name:'Artifact Holo Stamp', src:'/img/frames/etched/regular/holo/a.png', bounds:bounds2}, {name:'Artifact Holo Stamp', src:'/img/frames/etched/regular/holo/a.png', bounds:bounds2},
{name:'Land Holo Stamp', src:'/img/frames/etched/regular/holo/l.png', bounds:bounds2},
{name:'Colorless Holo Stamp', src:'/img/frames/etched/regular/holo/c.png', bounds:bounds2} {name:'Colorless Holo Stamp', src:'/img/frames/etched/regular/holo/c.png', bounds:bounds2}
]; ];
//disables/enables the "Load Frame Version" button //disables/enables the "Load Frame Version" button