mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
miracles
This commit is contained in:
20
js/frames/packM15Miracle.js
Normal file
20
js/frames/packM15Miracle.js
Normal file
@@ -0,0 +1,20 @@
|
||||
//Create objects for common properties across available frames
|
||||
// var masks = [{src:'/img/frames/m15/crowns/m15MaskLegendCrown.png', name:'Crown Without Pinlines'}, {src:'/img/frames/m15/crowns/m15MaskLegendCrownPinline.png', name:'Crown With Pinlines'}];
|
||||
var bounds = {x:0.04, y:0.0286, width:0.92, height:0.5324};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Miracle Frame', src:'/img/frames/m15/miracle/w.png', bounds:bounds},
|
||||
{name:'Blue Miracle Frame', src:'/img/frames/m15/miracle/u.png', bounds:bounds},
|
||||
{name:'Black Miracle Frame', src:'/img/frames/m15/miracle/b.png', bounds:bounds},
|
||||
{name:'Red Miracle Frame', src:'/img/frames/m15/miracle/r.png', bounds:bounds},
|
||||
{name:'Green Miracle Frame', src:'/img/frames/m15/miracle/g.png', bounds:bounds},
|
||||
{name:'Multicolored Miracle Frame', src:'/img/frames/m15/miracle/m.png', bounds:bounds},
|
||||
{name:'Artifact Miracle Frame', src:'/img/frames/m15/miracle/a.png', bounds:bounds},
|
||||
{name:'Land Miracle Frame', src:'/img/frames/m15/miracle/l.png', bounds:bounds}
|
||||
];
|
||||
//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();
|
Reference in New Issue
Block a user