mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
misc
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
loadFramePacks([
|
||||
{name:'Generic Frames', value:'FABRegular'},
|
||||
{name:'Classes', value:'FABClasses'},
|
||||
{name:'Heroes', value:'FABHeroes'},
|
||||
{name:'Class Frames', value:'FABClasses'},
|
||||
{name:'Hero Frames', value:'FABHeroes'},
|
||||
{name:'Region Frames', value:'FABRegions'},
|
||||
{name:'Fabled Frame', value:'FABFabled'}
|
||||
])
|
||||
|
||||
|
@@ -7,6 +7,6 @@ if (findManaSymbolIndex('outlinew') == -1) {
|
||||
'outline/outlinew', 'outline/outlineu', 'outline/outlineb', 'outline/outliner', 'outline/outlineg',
|
||||
'outline/outlinec', 'outline/outlines', 'outline/outlinex', 'outline/outline0', 'outline/outline1',
|
||||
'outline/outline2', 'outline/outline3', 'outline/outline4', 'outline/outline5', 'outline/outline6',
|
||||
'outline/outline7', 'outline/outline8', 'outline/outline9'
|
||||
'outline/outline7', 'outline/outline8', 'outline/outline9', 'outline/outlinet'
|
||||
]);
|
||||
}
|
20
js/frames/packFABRegions.js
Normal file
20
js/frames/packFABRegions.js
Normal file
@@ -0,0 +1,20 @@
|
||||
//defines available frames
|
||||
availableFrames = [
|
||||
{name:'Aria', src:'/img/frames/fab/regions/aria.png', complementary:[3,6]},
|
||||
{name:'Demonastery', src:'/img/frames/fab/regions/demonastery.png', complementary:[3,6]},
|
||||
{name:'Savage Lands', src:'/img/frames/fab/regions/savageLands.png', complementary:[3,6]},
|
||||
{name:'Pitch (1)', src:'/img/frames/fab/regions/1.svg'},
|
||||
{name:'Pitch (2)', src:'/img/frames/fab/regions/2.svg'},
|
||||
{name:'Pitch (3)', src:'/img/frames/fab/regions/3.svg'},
|
||||
{name:'Blanks', src:'/img/frames/fab/addons/blank.svg'},
|
||||
{name:'Spear', src:'/img/frames/fab/addons/spear.svg'},
|
||||
{name:'Shield', src:'/img/frames/fab/addons/shield.svg'}
|
||||
];
|
||||
// notification
|
||||
notify('For Region frames, pitch values and other icons must be placed behind card frames.', 15);
|
||||
//disables/enables the "Load Frame Version" button
|
||||
document.querySelector('#loadFrameVersion').disabled = false;
|
||||
//defines process for loading this version, if applicable
|
||||
document.querySelector('#loadFrameVersion').onclick = LoadFABVersion;
|
||||
//loads available frames
|
||||
loadFramePack();
|
@@ -43,11 +43,11 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
|
||||
card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305};
|
||||
resetWatermark();
|
||||
//text
|
||||
loadTextOptions({
|
||||
loadTextOptions({ //old color: 24150E
|
||||
mana: {name:'Mana Cost', text:'', y:0.0613, width:0.93, height:78/2100, oneLine:true, size:78/1638, align:'right', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', manaCost:true, manaSpacing:-0.002, manaPrefix:'outline', manaSymbolColor:'#24150E'},
|
||||
title: {name:'Title', text:'', x:0.0834, y:0.05, width:0.8334, height:0.0515, oneLine:true, font:'invocation', size:0.0515, shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'},
|
||||
type: {name:'Type', text:'', x:0.0767, y:0.5672, width:0.7334, height:0.0496, oneLine:true, font:'invocation', size:0.0496, align:'center', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'},
|
||||
rules: {name:'Rules Text', text:'', x:0.1, y:0.6334, width:0.8, height:0.2429, size:0.0334, font:'invocation-text', align:'center', manaPrefix:'outline', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E', manaPrefix:'outline', manaSymbolColor:'#24150E'},
|
||||
title: {name:'Title', text:'', x:0.0834, y:0.05, width:0.8334, height:0.0515, oneLine:true, font:'invocation', size:0.0515, shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black'},
|
||||
type: {name:'Type', text:'', x:0.0767, y:0.5672, width:0.7334, height:0.0496, oneLine:true, font:'invocation', size:0.0496, align:'center', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black'},
|
||||
rules: {name:'Rules Text', text:'', x:0.1, y:0.6334, width:0.8, height:0.2429, size:0.0334, font:'invocation-text', align:'center', manaPrefix:'outline', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'black', manaPrefix:'outline', manaSymbolColor:'#24150E'},
|
||||
pt: {name:'Power/Toughness', text:'', x:0.8707, y:0.8315, width:0.0387, height:0.0929, size:0.0372, font:'belerenbsc', align:'center', shadowX:-0.0007, shadowY:0.0005, shadow:'#ccb28b', color:'#24150E'}
|
||||
});
|
||||
//bottom info
|
||||
|
Reference in New Issue
Block a user