mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Add/update etched artifact+land frames
This commit is contained in:
@@ -624,6 +624,8 @@ function cardFrameProperties(colors, manaCost, typeLine, power, style) {
|
||||
} else if (style == 'Etched') {
|
||||
if (colors.length > 2) {
|
||||
typeTitle = 'M';
|
||||
} else if (colors.length == 1) {
|
||||
typeTitle = colors[0];
|
||||
} else {
|
||||
typeTitle = 'L';
|
||||
}
|
||||
@@ -1633,10 +1635,6 @@ function makeUBFrameByLetter(letter, mask = false, maskToRightHalf = false) {
|
||||
return frame;
|
||||
}
|
||||
function makeEtchedFrameByLetter(letter, mask = false, maskToRightHalf = false) {
|
||||
if (letter == 'L') {
|
||||
letter = 'C';
|
||||
}
|
||||
|
||||
letter = letter.toUpperCase();
|
||||
var frameNames = {
|
||||
'W': 'White',
|
||||
|
@@ -12,6 +12,7 @@ availableFrames = [
|
||||
{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:'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:'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},
|
||||
@@ -20,15 +21,17 @@ availableFrames = [
|
||||
{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:'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:'White Legend Crown', src:'/img/frames/etched/regular/crowns/w.png', bounds:bounds3, complementary:24},
|
||||
{name:'Blue Legend Crown', src:'/img/frames/etched/regular/crowns/u.png', bounds:bounds3, complementary:24},
|
||||
{name:'Black Legend Crown', src:'/img/frames/etched/regular/crowns/b.png', bounds:bounds3, complementary:24},
|
||||
{name:'Red Legend Crown', src:'/img/frames/etched/regular/crowns/r.png', bounds:bounds3, complementary:24},
|
||||
{name:'Green Legend Crown', src:'/img/frames/etched/regular/crowns/g.png', bounds:bounds3, complementary:24},
|
||||
{name:'Multicolored Legend Crown', src:'/img/frames/etched/regular/crowns/m.png', bounds:bounds3, complementary:24},
|
||||
{name:'Artifact Legend Crown', src:'/img/frames/etched/regular/crowns/a.png', bounds:bounds3, complementary:24},
|
||||
{name:'Colorless Crown', src:'/img/frames/etched/regular/crowns/c.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:27},
|
||||
{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:27},
|
||||
{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:27},
|
||||
{name:'Artifact Legend Crown', src:'/img/frames/etched/regular/crowns/a.png', bounds:bounds3, complementary:27},
|
||||
{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:'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},
|
||||
@@ -37,6 +40,7 @@ availableFrames = [
|
||||
{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:'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}
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
|
Reference in New Issue
Block a user