diff --git a/creator/index.php b/creator/index.php index e6b95004..3061f0c6 100644 --- a/creator/index.php +++ b/creator/index.php @@ -694,6 +694,7 @@ include('../globalHTML/header-1.php');

Kacem K.

Ken M.

Frank O.

+

Ken Z.

And of course, thank you to all of those who have made donations in the past.

diff --git a/gallery/img/magraoKaldheim.png b/gallery/img/magraoKaldheim.png new file mode 100644 index 00000000..ff5a522c Binary files /dev/null and b/gallery/img/magraoKaldheim.png differ diff --git a/gallery/index.php b/gallery/index.php index aba12629..51c8a850 100644 --- a/gallery/index.php +++ b/gallery/index.php @@ -189,6 +189,7 @@ include('../globalHTML/header-1.php'); {name: "Ixalan - @feuer_ameise", location: "Custom > Ixalan - @feuer_ameise", image: "feuerIxalan.png"}, {name: "Kaldheim, Fullart - @feuer_ameise", location: "Custom > Kaldheim, Fullart - @feuer_ameise", image: "feuerKaldheim.png"}, {name: "Celid's Asap", location: "Custom > Celid's Asap", image: "celidAsap.png"}, + {name: "Magrao's Kaldheim", location: "Custom > Magrao's Kaldheim", image: "magraoKaldheim.png"}, ]; //functions getURL = (imageName) => { diff --git a/img/frames/custom/magrao/kaldheim/a.png b/img/frames/custom/magrao/kaldheim/a.png new file mode 100644 index 00000000..b96ccbe9 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/a.png differ diff --git a/img/frames/custom/magrao/kaldheim/aThumb.png b/img/frames/custom/magrao/kaldheim/aThumb.png new file mode 100644 index 00000000..bc7371be Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/aThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/b.png b/img/frames/custom/magrao/kaldheim/b.png new file mode 100644 index 00000000..1179682c Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/b.png differ diff --git a/img/frames/custom/magrao/kaldheim/bThumb.png b/img/frames/custom/magrao/kaldheim/bThumb.png new file mode 100644 index 00000000..4a60f01d Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/bThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/g.png b/img/frames/custom/magrao/kaldheim/g.png new file mode 100644 index 00000000..d42aa2c9 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/g.png differ diff --git a/img/frames/custom/magrao/kaldheim/gThumb.png b/img/frames/custom/magrao/kaldheim/gThumb.png new file mode 100644 index 00000000..b31d5f7a Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/gThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/l.png b/img/frames/custom/magrao/kaldheim/l.png new file mode 100644 index 00000000..9db17f32 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/l.png differ diff --git a/img/frames/custom/magrao/kaldheim/lThumb.png b/img/frames/custom/magrao/kaldheim/lThumb.png new file mode 100644 index 00000000..abe14c6c Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/lThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/m.png b/img/frames/custom/magrao/kaldheim/m.png new file mode 100644 index 00000000..b2b8aeb5 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/m.png differ diff --git a/img/frames/custom/magrao/kaldheim/mThumb.png b/img/frames/custom/magrao/kaldheim/mThumb.png new file mode 100644 index 00000000..cc14cf6d Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/mThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/a.png b/img/frames/custom/magrao/kaldheim/pt/a.png new file mode 100644 index 00000000..4467d211 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/a.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/aThumb.png b/img/frames/custom/magrao/kaldheim/pt/aThumb.png new file mode 100644 index 00000000..82832b1f Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/aThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/b.png b/img/frames/custom/magrao/kaldheim/pt/b.png new file mode 100644 index 00000000..558f10bf Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/b.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/bThumb.png b/img/frames/custom/magrao/kaldheim/pt/bThumb.png new file mode 100644 index 00000000..1a5de37f Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/bThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/g.png b/img/frames/custom/magrao/kaldheim/pt/g.png new file mode 100644 index 00000000..5999bd1f Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/g.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/gThumb.png b/img/frames/custom/magrao/kaldheim/pt/gThumb.png new file mode 100644 index 00000000..ecbfbfb7 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/gThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/m.png b/img/frames/custom/magrao/kaldheim/pt/m.png new file mode 100644 index 00000000..288f716e Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/m.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/mThumb.png b/img/frames/custom/magrao/kaldheim/pt/mThumb.png new file mode 100644 index 00000000..4d0ea753 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/mThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/r.png b/img/frames/custom/magrao/kaldheim/pt/r.png new file mode 100644 index 00000000..b594fd5d Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/r.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/rThumb.png b/img/frames/custom/magrao/kaldheim/pt/rThumb.png new file mode 100644 index 00000000..df1478d4 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/rThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/u.png b/img/frames/custom/magrao/kaldheim/pt/u.png new file mode 100644 index 00000000..c57becad Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/u.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/uThumb.png b/img/frames/custom/magrao/kaldheim/pt/uThumb.png new file mode 100644 index 00000000..fa3d1609 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/uThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/w.png b/img/frames/custom/magrao/kaldheim/pt/w.png new file mode 100644 index 00000000..9f0b4129 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/w.png differ diff --git a/img/frames/custom/magrao/kaldheim/pt/wThumb.png b/img/frames/custom/magrao/kaldheim/pt/wThumb.png new file mode 100644 index 00000000..f8e98c4d Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/pt/wThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/r.png b/img/frames/custom/magrao/kaldheim/r.png new file mode 100644 index 00000000..cbc1d185 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/r.png differ diff --git a/img/frames/custom/magrao/kaldheim/rThumb.png b/img/frames/custom/magrao/kaldheim/rThumb.png new file mode 100644 index 00000000..9a55f106 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/rThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/u.png b/img/frames/custom/magrao/kaldheim/u.png new file mode 100644 index 00000000..31e02d25 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/u.png differ diff --git a/img/frames/custom/magrao/kaldheim/uThumb.png b/img/frames/custom/magrao/kaldheim/uThumb.png new file mode 100644 index 00000000..708c4fd4 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/uThumb.png differ diff --git a/img/frames/custom/magrao/kaldheim/w.png b/img/frames/custom/magrao/kaldheim/w.png new file mode 100644 index 00000000..b799f047 Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/w.png differ diff --git a/img/frames/custom/magrao/kaldheim/wThumb.png b/img/frames/custom/magrao/kaldheim/wThumb.png new file mode 100644 index 00000000..5fce238b Binary files /dev/null and b/img/frames/custom/magrao/kaldheim/wThumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index 6a89d23a..ee5bfdc3 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -171,6 +171,7 @@ const frameNames = new Map ([ ['Ixalan - @feuer_ameise', 'FeuerAmeiseIxalan'], ['Kaldheim, Fullart - @feuer_ameise', 'FeuerAmeiseKaldheim'], ['Celid\'s Asap', 'CustomCelidAsap'], + ['Magrao\'s Kaldheim', 'CustomMagraoKaldheim'], ]); frameSearch = (str) => { diff --git a/js/frames/groupCustom.js b/js/frames/groupCustom.js index 62e292e3..c5706030 100644 --- a/js/frames/groupCustom.js +++ b/js/frames/groupCustom.js @@ -28,5 +28,6 @@ loadFramePacks([ {name:'Neon - Elry', value:'CustomNeon'}, {name:'Ixalan - @feuer_ameise', value:'FeuerAmeiseIxalan'}, {name:'Kaldheim, Fullart - @feuer_ameise', value:'FeuerAmeiseKaldheim'}, - {name:'Celid\'s Asap', value:'CustomCelidAsap'} + {name:'Celid\'s Asap', value:'CustomCelidAsap'}, + {name:'Magrao\'s Kaldheim', value:'CustomMagraoKaldheim'} ]) \ No newline at end of file diff --git a/js/frames/packCustomMagraoKaldheim.js b/js/frames/packCustomMagraoKaldheim.js new file mode 100644 index 00000000..f6bdc3df --- /dev/null +++ b/js/frames/packCustomMagraoKaldheim.js @@ -0,0 +1,48 @@ +//Create objects for common properties across available frames +var bounds = {x:0.7607, y:0.8558, width:0.1807, height:0.081}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/custom/magrao/kaldheim/w.png'}, + {name:'Blue Frame', src:'/img/frames/custom/magrao/kaldheim/u.png'}, + {name:'Black Frame', src:'/img/frames/custom/magrao/kaldheim/b.png'}, + {name:'Red Frame', src:'/img/frames/custom/magrao/kaldheim/r.png'}, + {name:'Green Frame', src:'/img/frames/custom/magrao/kaldheim/g.png'}, + {name:'Multicolored Frame', src:'/img/frames/custom/magrao/kaldheim/m.png'}, + {name:'Artifact Frame', src:'/img/frames/custom/magrao/kaldheim/a.png'}, + {name:'Land Frame', src:'/img/frames/custom/magrao/kaldheim/l.png'}, + {name:'White Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/w.png', bounds:bounds}, + {name:'Blue Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/u.png', bounds:bounds}, + {name:'Black Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/b.png', bounds:bounds}, + {name:'Red Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/r.png', bounds:bounds}, + {name:'Green Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/g.png', bounds:bounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/m.png', bounds:bounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/custom/magrao/kaldheim/pt/a.png', bounds:bounds}, + +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; +//defines process for loading this version, if applicable +document.querySelector('#loadFrameVersion').onclick = async function() { + //resets things so that every frame doesn't have to + await resetCardIrregularities(); + //sets card version + card.version = 'magraoKaldheim'; + //art bounds + card.artBounds = {x:0.104, y:0.1043, width:0.792, height:0.7677}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.8334, y:0.8229, width:0.12, height:0.04, vertical:'center', horizontal: 'center'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:-2, y:-2, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0696, width:0.9227, 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:0.076, y:0.06, width:0.8667, height:0.0543, oneLine:true, font:'belerenb', color:'white', size:0.0381, shadowX:0.0027, shadowY:0.002}, + type: {name:'Type', text:'', x:0.08, y:0.871, width:0.84, height:0.0543, oneLine:true, font:'belerenb', color:'white', size:0.0324, shadowX:0.0027, shadowY:0.002}, + pt: {name:'Power/Toughness', text:'', x:0.7874, y:0.8805, width:0.128, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center', color:'white', shadowX:0.002, shadowY:0.0015} + }); +} +//loads available frames +loadFramePack(); \ No newline at end of file