Add new right-side transform frame

This commit is contained in:
Josh birnholz
2023-03-15 00:37:49 -04:00
parent 2eb7f784e7
commit 7bfde6306d
44 changed files with 30 additions and 23 deletions

View File

@@ -4,20 +4,20 @@ var bounds = {x:0.7573, y:0.8848, width:0.188, height:0.0733};
//defines available frames
availableFrames = [
{name:'White Frame', src:'/img/frames/m15/transform/regular/new/backW.png', masks:masks},
// {name:'Blue Frame', src:'/img/frames/m15/transform/regular/backU.png', masks:masks},
// {name:'Black Frame', src:'/img/frames/m15/transform/regular/backB.png', masks:masks},
// {name:'Red Frame', src:'/img/frames/m15/transform/regular/backR.png', masks:masks},
// {name:'Green Frame', src:'/img/frames/m15/transform/regular/backG.png', masks:masks},
// {name:'Multicolored Frame', src:'/img/frames/m15/transform/regular/backM.png', masks:masks},
// {name:'Artifact Frame', src:'/img/frames/m15/transform/regular/backA.png', masks:masks},
// {name:'Land Frame', src:'/img/frames/m15/transform/regular/backL.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/transform/regular/ptW.png', bounds:bounds}
// {name:'Blue Power/Toughness', src:'/img/frames/m15/transform/regular/ptU.png', bounds:bounds},
// {name:'Black Power/Toughness', src:'/img/frames/m15/transform/regular/ptB.png', bounds:bounds},
// {name:'Red Power/Toughness', src:'/img/frames/m15/transform/regular/ptR.png', bounds:bounds},
// {name:'Green Power/Toughness', src:'/img/frames/m15/transform/regular/ptG.png', bounds:bounds},
// {name:'Multicolored Power/Toughness', src:'/img/frames/m15/transform/regular/ptM.png', bounds:bounds},
// {name:'Artifact Power/Toughness', src:'/img/frames/m15/transform/regular/ptA.png', bounds:bounds}
{name:'Blue Frame', src:'/img/frames/m15/transform/regular//new/backU.png', masks:masks},
{name:'Black Frame', src:'/img/frames/m15/transform/regular/new/backB.png', masks:masks},
{name:'Red Frame', src:'/img/frames/m15/transform/regular/new/backR.png', masks:masks},
{name:'Green Frame', src:'/img/frames/m15/transform/regular/new/backG.png', masks:masks},
{name:'Multicolored Frame', src:'/img/frames/m15/transform/regular/new/backM.png', masks:masks},
{name:'Artifact Frame', src:'/img/frames/m15/transform/regular/new/backA.png', masks:masks},
{name:'Land Frame', src:'/img/frames/m15/transform/regular/new/backL.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/transform/regular/ptW.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/transform/regular/ptU.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/transform/regular/ptB.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/transform/regular/ptR.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/transform/regular/ptG.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/transform/regular/ptM.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/transform/regular/ptA.png', bounds:bounds}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = false;

View File

@@ -3,15 +3,22 @@ var masks = [{src:'/img/frames/m15/crowns/m15MaskLegendCrown.png', name:'Crown W
var bounds = {x:0.0274, y:0.0191, width:0.9454, height:0.1667};
//defines available frames
availableFrames = [
{name:'White Legend Crown', src:'/img/frames/m15/transform/crowns/regular/w.png', masks:masks, bounds:bounds, complementary:9},
{name:'Blue Legend Crown', src:'/img/frames/m15/transform/crowns/regular/u.png', masks:masks, bounds:bounds, complementary:9},
{name:'Black Legend Crown', src:'/img/frames/m15/transform/crowns/regular/b.png', masks:masks, bounds:bounds, complementary:9},
{name:'Red Legend Crown', src:'/img/frames/m15/transform/crowns/regular/r.png', masks:masks, bounds:bounds, complementary:9},
{name:'Green Legend Crown', src:'/img/frames/m15/transform/crowns/regular/g.png', masks:masks, bounds:bounds, complementary:9},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/transform/crowns/regular/m.png', masks:masks, bounds:bounds, complementary:9},
{name:'Artifact Legend Crown', src:'/img/frames/m15/transform/crowns/regular/a.png', masks:masks, bounds:bounds, complementary:9},
{name:'Land Legend Crown', src:'/img/frames/m15/transform/crowns/regular/l.png', masks:masks, bounds:bounds, complementary:9},
{name:'White Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/w.png', masks:masks, bounds:bounds, complementary:9},
{name:'White Legend Crown', src:'/img/frames/m15/transform/crowns/regular/w.png', masks:masks, bounds:bounds, complementary:16},
{name:'Blue Legend Crown', src:'/img/frames/m15/transform/crowns/regular/u.png', masks:masks, bounds:bounds, complementary:16},
{name:'Black Legend Crown', src:'/img/frames/m15/transform/crowns/regular/b.png', masks:masks, bounds:bounds, complementary:16},
{name:'Red Legend Crown', src:'/img/frames/m15/transform/crowns/regular/r.png', masks:masks, bounds:bounds, complementary:16},
{name:'Green Legend Crown', src:'/img/frames/m15/transform/crowns/regular/g.png', masks:masks, bounds:bounds, complementary:16},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/transform/crowns/regular/m.png', masks:masks, bounds:bounds, complementary:16},
{name:'Artifact Legend Crown', src:'/img/frames/m15/transform/crowns/regular/a.png', masks:masks, bounds:bounds, complementary:16},
{name:'Land Legend Crown', src:'/img/frames/m15/transform/crowns/regular/l.png', masks:masks, bounds:bounds, complementary:16},
{name:'White Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/w.png', masks:masks, bounds:bounds, complementary:16},
{name:'Blue Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/u.png', masks:masks, bounds:bounds, complementary:16},
{name:'Black Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/b.png', masks:masks, bounds:bounds, complementary:16},
{name:'Red Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/r.png', masks:masks, bounds:bounds, complementary:16},
{name:'Green Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/g.png', masks:masks, bounds:bounds, complementary:16},
{name:'Multicolored Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/m.png', masks:masks, bounds:bounds, complementary:16},
{name:'Artifact Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/a.png', masks:masks, bounds:bounds, complementary:16},
{name:'Land Legend Crown (Back)', src:'/img/frames/m15/transform/crowns/regular/new/l.png', masks:masks, bounds:bounds, complementary:16},
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}}
];
//disables/enables the "Load Frame Version" button