From 7402e8640d506007262e148de1b1fe4badec90f3 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Wed, 13 Oct 2021 08:47:35 -0700 Subject: [PATCH] old mana symbols in text --- js/frames/packABU.js | 2 +- js/frames/packLegends.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/frames/packABU.js b/js/frames/packABU.js index d756548f..9e9d2a2d 100644 --- a/js/frames/packABU.js +++ b/js/frames/packABU.js @@ -42,7 +42,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { mana: {name:'Mana Cost', text:'', x:0.07, y:0.0572, width:0.8467, height:74/2100, oneLine:true, size:74/1638, align:'right', manaCost:true, manaSpacing:0.0014, manaPrefix:'old'}, title: {name:'Title', text:'', x:0.07, y:0.05, width:0.8667, height:0.0429, oneLine:true, font:'goudymedieval', size:0.0429, color:'#ababab', shadowX:0.0021, shadowY:0.0015}, type: {name:'Type', text:'', x:0.1, y:0.5586, width:0.8, height:0.0334, oneLine:true, size:0.0334, color:'#ababab', shadowX:0.0021, shadowY:0.0015}, - rules: {name:'Rules Text', text:'', x:0.15, y:0.6048, width:0.7, height:0.2762, size:0.0477}, + rules: {name:'Rules Text', text:'', x:0.15, y:0.6048, width:0.7, height:0.2762, size:0.0477, manaPrefix:'old'}, pt: {name:'Power/Toughness', text:'', x:0.8, y:0.8972, width:0.16, height:0.0415, size:0.0415, oneLine:true, align:'center', color:'#ababab', shadowX:0.0021, shadowY:0.0015} }); //bottom info diff --git a/js/frames/packLegends.js b/js/frames/packLegends.js index d61876df..8411cce0 100644 --- a/js/frames/packLegends.js +++ b/js/frames/packLegends.js @@ -10,6 +10,7 @@ document.querySelector('#loadFrameVersion').onclick = async function() { await resetCardIrregularities(); //sets card version card.version = 'legends'; + loadScript('/js/frames/manaSymbolsOld.js'); //art bounds card.artBounds = {x:0.1074, y:0.0924, width:0.7854, height:0.4524}; autoFitArt(); @@ -21,10 +22,10 @@ document.querySelector('#loadFrameVersion').onclick = async function() { resetWatermark(); //text loadTextOptions({ - mana: {name:'Mana Cost', text:'', x:0.108, y:0.0458, width:0.8147, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true, manaSpacing:0.0014}, + mana: {name:'Mana Cost', text:'', x:0.108, y:0.0458, width:0.8147, height:72/2100, oneLine:true, size:72/1638, align:'right', manaCost:true, manaSpacing:0.0014, manaPrefix:'old'}, title: {name:'Title', text:'', x:0.108, y:0.04, width:0.784, height:0.0405, oneLine:true, font:'goudymedieval', size:0.0405, color:'white', shadowX:0.0034, shadowY:0.0024}, type: {name:'Type', text:'', x:0.108, y:0.5524, width:0.784, height:0.0543, oneLine:true, size:0.032, color:'white', shadowX:0.0021, shadowY:0.0015}, - rules: {name:'Rules Text', text:'', x:0.126, y:0.6081, width:0.748, height:0.2762, size:0.0362}, + rules: {name:'Rules Text', text:'', x:0.126, y:0.6081, width:0.748, height:0.2762, size:0.0362, manaPrefix:'old'}, pt: {name:'Power/Toughness', text:'', x:0.8, y:0.9039, width:0.1367, height:0.0453, size:0.0453, oneLine:true, align:'center', color:'white', shadowX:0.0034, shadowY:0.0024} }); //bottom info