mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00

Squashed commit of the following: commit 28b7bf7e3bccb04abe8b43ed692c81258df835e3 Author: Josh birnholz <josh@birnholz.com> Date: Sat Jun 10 22:04:15 2023 -0400 Update .gitignore commit 522479888780fd473a33a38925de0f5c1b4cfb56 Author: Josh birnholz <josh@birnholz.com> Date: Sat Jun 10 22:02:01 2023 -0400 Add UB legend crowns to saga group commit 79087de9fc79ec59db0d519f707d760e9a29ffdc Author: Josh birnholz <josh@birnholz.com> Date: Sat Jun 10 21:56:08 2023 -0400 Remove bak files commit e477ba875535751a7a013600a6522c5d894a1c33 Author: Klisz <kennercat@gmail.com> Date: Thu Jun 1 17:14:14 2023 -0600 Add Universes Beyond legend crowns
21 lines
1.7 KiB
JavaScript
21 lines
1.7 KiB
JavaScript
//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/ub/crowns/m15MaskLegendCrownPinline.png', name:'Crown With Pinlines'}];
|
|
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/ub/crowns/m15CrownW.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Blue Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownU.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Black Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownB.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Red Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownR.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Green Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownG.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Multicolored Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownM.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Artifact Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownA.png', masks:masks, bounds:bounds, complementary:8},
|
|
{name:'Land Legend Crown', src:'/img/frames/m15/ub/crowns/m15CrownL.png', masks:masks, bounds:bounds, complementary:8},
|
|
{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
|
|
document.querySelector('#loadFrameVersion').disabled = true;
|
|
//defines process for loading this version, if applicable
|
|
document.querySelector('#loadFrameVersion').onclick = null;
|
|
//loads available frames
|
|
loadFramePack(); |