MDFC Floating crowns

This commit is contained in:
Kyle
2021-04-12 15:03:39 -07:00
parent 825be280b7
commit acc9dcaf2e
27 changed files with 50 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ loadFramePacks([
{name:'Nickname', value:'ModalShortNickname'},
{name:'Addons', value:'disabled'},
{name:'Legend Crowns', value:'M15LegendCrowns'},
{name:'Floating Legend Crowns', value:'M15LegendCrownsFloating'},
{name:'Floating Legend Crowns', value:'ModalLegendCrownsFloating'},
{name:'Inner Crowns', value:'M15InnerCrowns'},
{name:'Holo Stamps', value:'M15HoloStamps'},
{name:'Dark Power/Toughness', value:'M15DarkPT'},

View File

@@ -0,0 +1,22 @@
//Create objects for common properties across available frames
var bounds = {x:0.0307, y:0.0191, width:0.9387, height:0.1024};
//defines available frames
availableFrames = [
{name:'White Legend Crown', src:'/img/frames/modal/crowns/floating/w.png', bounds:bounds},
{name:'Blue Legend Crown', src:'/img/frames/modal/crowns/floating/u.png', bounds:bounds},
{name:'Black Legend Crown', src:'/img/frames/modal/crowns/floating/b.png', bounds:bounds},
{name:'Red Legend Crown', src:'/img/frames/modal/crowns/floating/r.png', bounds:bounds},
{name:'Green Legend Crown', src:'/img/frames/modal/crowns/floating/g.png', bounds:bounds},
{name:'Multicolored Legend Crown', src:'/img/frames/modal/crowns/floating/m.png', bounds:bounds},
{name:'Artifact Legend Crown', src:'/img/frames/modal/crowns/floating/a.png', bounds:bounds},
{name:'Land Legend Crown', src:'/img/frames/modal/crowns/floating/l.png', bounds:bounds},
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}},
{name:'Legend Crown Cutout', src:'/img/frames/modal/crowns/cutout.svg', erase:true},
{name:'Legend Crown Outline', src:'/img/frames/m15/crowns/m15CrownFloatingOutline.png', bounds:{x:0.028, y:0.0172, width:0.944, height:0.1062}}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();