mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Add nonlegendary Tarkir frame
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
//Create objects for common properties across available frames
|
||||
var masks = [];
|
||||
var ptBounds = {x:1155/1500, y:1850/2100, width:274/1500, height:150/2100};
|
||||
var crownBounds = {x:180/1500, y:51/2100, width:1145/1500, height:65/2100};
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'White Frame', src:'/img/frames/tarkir/w.png', masks:masks},
|
||||
@@ -21,7 +22,15 @@ availableFrames = [
|
||||
{name:'Artifact Power/Toughness', src:'/img/frames/tarkir/pt/a.png', bounds:ptBounds},
|
||||
// {name:'Colorless Power/Toughness', src:'/img/frames/tarkir/pt/c.png', bounds:ptBounds},
|
||||
|
||||
{name:'Holo Stamp', src:'/img/frames/tarkir/stamp.png', bounds:{x:638/1500, y:1888/2100, width:225/1500, height:101/2100}}
|
||||
{name:'White Legend Crown', src:'/img/frames/tarkir/crowns/w.png', bounds:crownBounds},
|
||||
{name:'Blue Legend Crown', src:'/img/frames/tarkir/crowns/u.png', bounds:crownBounds},
|
||||
{name:'Black Legend Crown', src:'/img/frames/tarkir/crowns/b.png', bounds:crownBounds},
|
||||
{name:'Red Legend Crown', src:'/img/frames/tarkir/crowns/r.png', bounds:crownBounds},
|
||||
{name:'Green Legend Crown', src:'/img/frames/tarkir/crowns/g.png', bounds:crownBounds},
|
||||
{name:'Multicolored Legend Crown', src:'/img/frames/tarkir/crowns/m.png', bounds:crownBounds},
|
||||
{name:'Artifact Legend Crown', src:'/img/frames/tarkir/crowns/a.png', bounds:crownBounds},
|
||||
|
||||
{name:'Holo Stamp', src:'/img/frames/tarkir/stamp.png', bounds:{x:638/1500, y:1888/2100, width:225/1500, height:101/2100}},
|
||||
];
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
@@ -44,8 +53,8 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
mana: {name:'Mana Cost', text:'', x:-5/1500, y:125/2100, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
|
||||
title: {name:'Title', text:'', x:124/1500, y:100/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
|
||||
mana: {name:'Mana Cost', text:'', x:-5/1500, y:127/2100, width:0.9292, height:71/2100, oneLine:true, size:71/1638, align:'right', shadowX:-0.001, shadowY:0.0029, manaCost:true, manaSpacing:0},
|
||||
title: {name:'Title', text:'', x:124/1500, y:104/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381},
|
||||
type: {name:'Type', text:'', x:123/1500, y:1182/2100, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324},
|
||||
rules: {name:'Rules Text', text:'', x:0.086, y:1326/2100, width:0.828, height:0.2875, size:0.0362, color:'white'},
|
||||
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'}
|
||||
|
Reference in New Issue
Block a user