mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
classicshifted better crowns
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/classicshifted/dual.svg', name:'Dual Land Pinline'}];
|
||||
var masks2 = [{src:'/img/frames/m15/m15MaskBorderSliver.png', name:'Border'}, {src:'/img/frames/m15/m15MaskBorderSliverCrown.png', name:'Border (With Crown)'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Full Border'}];
|
||||
var masks2 = [{src:'/img/frames/m15/m15MaskBorderSliver.png', name:'Border'}, {src:'/img/frames/custom/classicshifted/crowns/borderMask.svg', name:'Legend Crown Cover'}, {src:'/img/frames/m15/regular/m15MaskBorder.png', name:'Full Border'}];
|
||||
var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
|
||||
var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015};
|
||||
var bounds3 = {x:0.3267, y:0.6491, width:0.3474, height:0.2496};
|
||||
var bounds2 = {x:0.0267, y:0.0134, width:0.9467, height:0.1005};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/custom/classicshifted/w.png', masks:masks},
|
||||
@@ -22,16 +21,18 @@ availableFrames = [
|
||||
{name:'Multicolored Power/Toughness', src:'/img/frames/custom/classicshifted/ptM.png', bounds:bounds},
|
||||
{name:'Artifact Power/Toughness', src:'/img/frames/custom/classicshifted/ptA.png', bounds:bounds},
|
||||
{name:'Land Power/Toughness', src:'/img/frames/custom/classicshifted/ptL.png', bounds:bounds},
|
||||
{name:'White Crown', src:'/img/frames/custom/classicshifted/cw.png', bounds:bounds2},
|
||||
{name:'Blue Crown', src:'/img/frames/custom/classicshifted/cu.png', bounds:bounds2},
|
||||
{name:'Black Crown', src:'/img/frames/custom/classicshifted/cb.png', bounds:bounds2},
|
||||
{name:'Red Crown', src:'/img/frames/custom/classicshifted/cr.png', bounds:bounds2},
|
||||
{name:'Green Crown', src:'/img/frames/custom/classicshifted/cg.png', bounds:bounds2},
|
||||
{name:'Multicolored Crown', src:'/img/frames/custom/classicshifted/cm.png', bounds:bounds2},
|
||||
{name:'Artifact Crown', src:'/img/frames/custom/classicshifted/ca.png', bounds:bounds2},
|
||||
{name:'Land Crown', src:'/img/frames/custom/classicshifted/cl.png', bounds:bounds2},
|
||||
{name:'White Crown', src:'/img/frames/custom/classicshifted/crowns/w.png', bounds:bounds2, complementary:24},
|
||||
{name:'Blue Crown', src:'/img/frames/custom/classicshifted/crowns/u.png', bounds:bounds2, complementary:24},
|
||||
{name:'Black Crown', src:'/img/frames/custom/classicshifted/crowns/b.png', bounds:bounds2, complementary:24},
|
||||
{name:'Red Crown', src:'/img/frames/custom/classicshifted/crowns/r.png', bounds:bounds2, complementary:24},
|
||||
{name:'Green Crown', src:'/img/frames/custom/classicshifted/crowns/g.png', bounds:bounds2, complementary:24},
|
||||
{name:'Multicolored Crown', src:'/img/frames/custom/classicshifted/crowns/m.png', bounds:bounds2, complementary:24},
|
||||
{name:'Artifact Crown', src:'/img/frames/custom/classicshifted/crowns/a.png', bounds:bounds2, complementary:24},
|
||||
{name:'Land Crown', src:'/img/frames/custom/classicshifted/crowns/l.png', bounds:bounds2, complementary:24},
|
||||
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.021}},
|
||||
{name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'},
|
||||
{name:'White Border', src:'/img/frames/white.png', masks:masks2, noDefaultMask:true},
|
||||
{name:'Black Border', src:'/img/black.png', masks:masks2, noDefaultMask:true},
|
||||
{name:'Silver Border', src:'/img/frames/silver.png', masks:masks2, noDefaultMask:true},
|
||||
{name:'Gold Border', src:'/img/frames/gold.png', masks:masks2, noDefaultMask:true},
|
||||
{name:'Black Frame (Alt)', src:'/img/frames/custom/classicshifted/b2.png', masks:masks}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [{src:'/img/frames/custom/classicshifted/maskFrame.png', name:'Frame'}, {src:'/img/frames/custom/classicshifted/maskText.png', name:'Textbox'}, {src:'/img/frames/custom/classicshifted/pinline.svg', name:'Pinline'}, {src:'/img/frames/custom/classicshifted/dual.svg', name:'Dual Land Pinline'}];
|
||||
var bounds = {x:0.3267, y:0.6491, width:0.3474, height:0.2496};
|
||||
var bounds2 = {x:0.026, y:0.0129, width:0.948, height:0.1015};
|
||||
var bounds2 = {x:0.0267, y:0.0134, width:0.9467, height:0.1005};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'Land Frame', src:'/img/frames/custom/classicshifted/l.png', masks:masks},
|
||||
@@ -25,14 +25,15 @@ availableFrames = [
|
||||
{name:'Forest Watermark', src:'/img/frames/m15/basics/g.png', bounds:bounds},
|
||||
{name:'Wastes Watermark', src:'/img/frames/m15/basics/c.png', bounds:bounds},
|
||||
{name:'Snow Overlay', src:'/img/frames/custom/classicshifted/snow.png'},
|
||||
{name:'The Dark Legend Crown', src:'/img/frames/custom/classicshifted/crowns/theDark.png', bounds:bounds2},
|
||||
{name:'Alliances Legend Crown', src:'/img/frames/custom/classicshifted/crowns/alliances.png', bounds:bounds2},
|
||||
{name:'Mirage Legend Crown', src:'/img/frames/custom/classicshifted/crowns/mirage.png', bounds:bounds2},
|
||||
{name:'Ice Age Legend Crown', src:'/img/frames/custom/classicshifted/crowns/iceAge.png', bounds:bounds2},
|
||||
{name:'Homelands Legend Crown', src:'/img/frames/custom/classicshifted/crowns/homelands.png', bounds:bounds2},
|
||||
{name:'Fallen Empires Legend Crown', src:'/img/frames/custom/classicshifted/crowns/fallenEmpires.png', bounds:bounds2},
|
||||
{name:'Arabian Nights Legend Crown', src:'/img/frames/custom/classicshifted/crowns/arabianNights.png', bounds:bounds2},
|
||||
{name:'Antiquities Legend Crown', src:'/img/frames/custom/classicshifted/crowns/antiquities.png', bounds:bounds2}
|
||||
{name:'The Dark Legend Crown', src:'/img/frames/custom/classicshifted/crowns/theDark.png', bounds:bounds2, complementary:29},
|
||||
{name:'Alliances Legend Crown', src:'/img/frames/custom/classicshifted/crowns/alliances.png', bounds:bounds2, complementary:29},
|
||||
{name:'Mirage Legend Crown', src:'/img/frames/custom/classicshifted/crowns/mirage.png', bounds:bounds2, complementary:29},
|
||||
{name:'Ice Age Legend Crown', src:'/img/frames/custom/classicshifted/crowns/iceAge.png', bounds:bounds2, complementary:29},
|
||||
{name:'Homelands Legend Crown', src:'/img/frames/custom/classicshifted/crowns/homelands.png', bounds:bounds2, complementary:29},
|
||||
{name:'Fallen Empires Legend Crown', src:'/img/frames/custom/classicshifted/crowns/fallenEmpires.png', bounds:bounds2, complementary:29},
|
||||
{name:'Arabian Nights Legend Crown', src:'/img/frames/custom/classicshifted/crowns/arabianNights.png', bounds:bounds2, complementary:29},
|
||||
{name:'Antiquities Legend Crown', src:'/img/frames/custom/classicshifted/crowns/antiquities.png', bounds:bounds2, complementary:29},
|
||||
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.021}}
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
|
Reference in New Issue
Block a user