diff --git a/.htaccess b/.htaccess index c24e2c65..8ebfe946 100644 --- a/.htaccess +++ b/.htaccess @@ -2,7 +2,7 @@ ErrorDocument 404 /404.php #YEAR - + Header set Cache-Control "max-age=31536000, public" #MONTH diff --git a/creator/index.php b/creator/index.php index ec6e5b0c..6a41c49f 100644 --- a/creator/index.php +++ b/creator/index.php @@ -325,6 +325,12 @@ Between hosting fees and paying for the domain, running Card Conjurer can take its toll. Plus, as a student on a tight budget, it can be hard to afford Magic. If you've enjoyed using Card Conjurer and would like to help me out, please consider joining my Patreon. And if you'd like to make a one-time donation instead, I have a PayPal as well. Any assistance is greatly appreciated, even if it's simply checking out my Twitter! +
+

Have feedback?

+

+ Whether you've found a bug, want to request a feature, or have some criticism to offer, I'd love to hear it! If there's anything you'd like to let me know, please don't hesitate to contact me via email at cardconjurermtg@gmail.com. +

+
\ No newline at end of file diff --git a/img/frames/storybook/holo.png b/img/frames/storybook/holo.png new file mode 100644 index 00000000..e95a776e Binary files /dev/null and b/img/frames/storybook/holo.png differ diff --git a/img/frames/storybook/holoThumb.png b/img/frames/storybook/holoThumb.png new file mode 100644 index 00000000..f25034cf Binary files /dev/null and b/img/frames/storybook/holoThumb.png differ diff --git a/js/creator.js b/js/creator.js index 941165f9..5c8caecb 100644 --- a/js/creator.js +++ b/js/creator.js @@ -650,7 +650,7 @@ function writeText(textObject, targetContext) { currentX = savedTextXPosition; } } else if (possibleCode.includes('ptshift')) { - if (card.frames.findIndex(element => element.name.toLowerCase().includes('power/toughness')) >= 0 || card.version.includes('planeswalker') || card.version.includes('commanderLegends')) { + if (card.frames.findIndex(element => element.name.toLowerCase().includes('power/toughness')) >= 0 || card.version.includes('planeswalker') || card.version == 'commanderLegends' || card.version == 'm21') { ptShift[0] = scaleWidth(parseFloat(possibleCode.replace('ptshift', '').split(',')[0])); ptShift[1] = scaleHeight(parseFloat(possibleCode.split(',')[1])); } diff --git a/js/frames/packStorybook.js b/js/frames/packStorybook.js index 2eacbeb5..2cdb1776 100644 --- a/js/frames/packStorybook.js +++ b/js/frames/packStorybook.js @@ -13,7 +13,8 @@ availableFrames = [ {name:'Black Power/Toughness', src:'/img/frames/storybook/storybookPTB.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/storybook/storybookPTR.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/storybook/storybookPTG.png', bounds:bounds}, - {name:'Colorless Power/Toughness', src:'/img/frames/storybook/storybookPTC.png', bounds:bounds} + {name:'Colorless Power/Toughness', src:'/img/frames/storybook/storybookPTC.png', bounds:bounds}, + {name:'Holo Stamp', src:'/img/frames/storybook/holo.png', bounds:{x:0.4507, y:0.9129, width:0.0987, height:0.0386}} ]; //disables/enables the "Load Frame Version" button document.querySelector('#loadFrameVersion').disabled = false;