forked from GithubMirrors/cardconjurer
xln pt, mh2 l
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
//Create objects for common properties across available frames
|
||||
var bounds = {x:0.06, y:0.05, width:0.0667, height:0.0481};
|
||||
var bounds2 = {x:0.7567, y:0.8786, width:0.2007, height:0.0748};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/ixalan/ixalanFrameW.png'},
|
||||
@@ -14,7 +15,14 @@ availableFrames = [
|
||||
{name:'Sorcery Icon', src:'/img/frames/ixalan/ixalanIconSorcery.png', bounds:bounds},
|
||||
{name:'Enchantment Icon', src:'/img/frames/ixalan/ixalanIconEnchantment.png', bounds:bounds},
|
||||
{name:'Artifact Icon', src:'/img/frames/ixalan/ixalanIconArtifact.png', bounds:bounds},
|
||||
{name:'Multitype Icon', src:'/img/frames/ixalan/ixalanIconMulti.png', bounds:bounds}
|
||||
{name:'Multitype Icon', src:'/img/frames/ixalan/ixalanIconMulti.png', bounds:bounds},
|
||||
{name:'White Power/Toughness', src:'/img/frames/ixalan/pt/w.png', bounds:bounds2},
|
||||
{name:'Blue Power/Toughness', src:'/img/frames/ixalan/pt/u.png', bounds:bounds2},
|
||||
{name:'Black Power/Toughness', src:'/img/frames/ixalan/pt/b.png', bounds:bounds2},
|
||||
{name:'Red Power/Toughness', src:'/img/frames/ixalan/pt/r.png', bounds:bounds2},
|
||||
{name:'Green Power/Toughness', src:'/img/frames/ixalan/pt/g.png', bounds:bounds2},
|
||||
{name:'Multicolored Power/Toughness', src:'/img/frames/ixalan/pt/m.png', bounds:bounds2},
|
||||
{name:'Colorless Power/Toughness', src:'/img/frames/ixalan/pt/l.png', bounds:bounds2}
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
@@ -39,6 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
title: {name:'Title', text:'', x:0.14, y:0.0458, width:0.72, height:0.0543, oneLine:true, font:'belerenbsc', size:0.0386, align:'center'},
|
||||
type: {name:'Type', text:'', x:0.23, y:0.5662, width:0.54, height:0.0543, oneLine:true, font:'belerenb', size:0.0324, align:'center'},
|
||||
rules: {name:'Rules Text', text:'', x:0.1167, y:0.6381, width:0.7667, height:0.27, size:0.0362},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'}
|
||||
});
|
||||
}
|
||||
//loads available frames
|
||||
|
Reference in New Issue
Block a user