Hide flavor text bar per frame pack

This commit is contained in:
Josh Birnholz
2023-08-01 11:03:52 -04:00
parent 39a3516bf0
commit 8d7621ea79
16 changed files with 17 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = '8th';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.088, y:0.12, width:0.824, height:0.4348};
autoFitArt();

View File

@@ -24,6 +24,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = '8thColorshifted';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.088, y:0.12, width:0.824, height:0.4348};
autoFitArt();

View File

@@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'abu';
card.showsFlavorBar = false;
loadScript('/js/frames/manaSymbolsOld.js');
//art bounds
card.artBounds = {x:0.116, y:0.1043, width:0.7654, height:0.441};

View File

@@ -20,6 +20,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'fourth';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.1034, y:0.0886, width:0.794, height:0.4543};
autoFitArt();

View File

@@ -33,6 +33,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'futureRegular';
card.showsFlavorBar = false;
loadScript('/js/frames/manaSymbolsFuture.js');
// notify('The Future version adds special mana symbols. To use them, place an "F" before the following mana symbols: wubrg, 0-20, x, and hybrid mana symbols.');
//art bounds

View File

@@ -32,6 +32,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'invocation';
card.showsFlavorBar = false;
loadScript('/js/frames/manaSymbolsOutline.js');
//art bounds
card.artBounds = {x:173/1500, y:313/2100, width:1150/1500, height:819/2100};

View File

@@ -10,6 +10,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'legends';
card.showsFlavorBar = false;
loadScript('/js/frames/manaSymbolsOld.js');
//art bounds
card.artBounds = {x:0.1074, y:0.0924, width:0.7854, height:0.4524};

View File

@@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'oldFloating';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0, y:0, width:1, height:1};
autoFitArt();

View File

@@ -28,6 +28,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'oldFloatingShort';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0, y:0, width:1, height:1};
autoFitArt();

View File

@@ -24,6 +24,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'playtest';
card.showsFlavorBar = false;
loadScript('/js/frames/manaSymbolsOutline.js');
//art bounds
card.artBounds = {x:0.132, y:0.1439, width:0.736, height:0.3362};

View File

@@ -47,6 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'seventh';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429};
autoFitArt();

View File

@@ -47,6 +47,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'fifth';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429};
autoFitArt();

View File

@@ -31,6 +31,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'seventhSnowLands';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:0.12, y:0.0991, width:0.7667, height:0.4429};
autoFitArt();

View File

@@ -39,6 +39,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
replacementMasks = {'Right Half':'img/frames/storybook/mul/rightHalf.png'};
//sets card version
card.version = 'storybook_mul';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:54/1500, y:62/2100, width:1398/1500, height:1157/2100};
autoFitArt();

View File

@@ -32,6 +32,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() {
await resetCardIrregularities();
//sets card version
card.version = 'tardis';
card.showsFlavorBar = false;
//art bounds
card.artBounds = {x:115/1500, y:264/2100, width:1271/1500, height:898/2100};
autoFitArt();