diff --git a/img/frames/ixalanLegends/a1.png b/img/frames/ixalanLegends/a1.png new file mode 100644 index 00000000..ee24f38d Binary files /dev/null and b/img/frames/ixalanLegends/a1.png differ diff --git a/img/frames/ixalanLegends/a1Thumb.png b/img/frames/ixalanLegends/a1Thumb.png new file mode 100644 index 00000000..10c4ba89 Binary files /dev/null and b/img/frames/ixalanLegends/a1Thumb.png differ diff --git a/img/frames/ixalanLegends/a2.png b/img/frames/ixalanLegends/a2.png new file mode 100644 index 00000000..b65e4ed6 Binary files /dev/null and b/img/frames/ixalanLegends/a2.png differ diff --git a/img/frames/ixalanLegends/a2Thumb.png b/img/frames/ixalanLegends/a2Thumb.png new file mode 100644 index 00000000..024f2d37 Binary files /dev/null and b/img/frames/ixalanLegends/a2Thumb.png differ diff --git a/img/frames/ixalanLegends/a3.png b/img/frames/ixalanLegends/a3.png new file mode 100644 index 00000000..8bd6e309 Binary files /dev/null and b/img/frames/ixalanLegends/a3.png differ diff --git a/img/frames/ixalanLegends/a3Thumb.png b/img/frames/ixalanLegends/a3Thumb.png new file mode 100644 index 00000000..33fcdbac Binary files /dev/null and b/img/frames/ixalanLegends/a3Thumb.png differ diff --git a/img/frames/ixalanLegends/b1.png b/img/frames/ixalanLegends/b1.png new file mode 100644 index 00000000..9bf6951b Binary files /dev/null and b/img/frames/ixalanLegends/b1.png differ diff --git a/img/frames/ixalanLegends/b1Thumb.png b/img/frames/ixalanLegends/b1Thumb.png new file mode 100644 index 00000000..53914539 Binary files /dev/null and b/img/frames/ixalanLegends/b1Thumb.png differ diff --git a/img/frames/ixalanLegends/b2.png b/img/frames/ixalanLegends/b2.png new file mode 100644 index 00000000..b6af9619 Binary files /dev/null and b/img/frames/ixalanLegends/b2.png differ diff --git a/img/frames/ixalanLegends/b2Thumb.png b/img/frames/ixalanLegends/b2Thumb.png new file mode 100644 index 00000000..2ce2ca4a Binary files /dev/null and b/img/frames/ixalanLegends/b2Thumb.png differ diff --git a/img/frames/ixalanLegends/b3.png b/img/frames/ixalanLegends/b3.png new file mode 100644 index 00000000..0b26a046 Binary files /dev/null and b/img/frames/ixalanLegends/b3.png differ diff --git a/img/frames/ixalanLegends/b3Thumb.png b/img/frames/ixalanLegends/b3Thumb.png new file mode 100644 index 00000000..5c7b02b8 Binary files /dev/null and b/img/frames/ixalanLegends/b3Thumb.png differ diff --git a/img/frames/ixalanLegends/crown/a.png b/img/frames/ixalanLegends/crown/a.png new file mode 100644 index 00000000..a3bd64fc Binary files /dev/null and b/img/frames/ixalanLegends/crown/a.png differ diff --git a/img/frames/ixalanLegends/crown/aThumb.png b/img/frames/ixalanLegends/crown/aThumb.png new file mode 100644 index 00000000..be0378c7 Binary files /dev/null and b/img/frames/ixalanLegends/crown/aThumb.png differ diff --git a/img/frames/ixalanLegends/crown/b.png b/img/frames/ixalanLegends/crown/b.png new file mode 100644 index 00000000..9c6a67fe Binary files /dev/null and b/img/frames/ixalanLegends/crown/b.png differ diff --git a/img/frames/ixalanLegends/crown/bThumb.png b/img/frames/ixalanLegends/crown/bThumb.png new file mode 100644 index 00000000..2600e7b8 Binary files /dev/null and b/img/frames/ixalanLegends/crown/bThumb.png differ diff --git a/img/frames/ixalanLegends/crown/g.png b/img/frames/ixalanLegends/crown/g.png new file mode 100644 index 00000000..708a04da Binary files /dev/null and b/img/frames/ixalanLegends/crown/g.png differ diff --git a/img/frames/ixalanLegends/crown/gThumb.png b/img/frames/ixalanLegends/crown/gThumb.png new file mode 100644 index 00000000..7a125a7b Binary files /dev/null and b/img/frames/ixalanLegends/crown/gThumb.png differ diff --git a/img/frames/ixalanLegends/crown/l.png b/img/frames/ixalanLegends/crown/l.png new file mode 100644 index 00000000..df585020 Binary files /dev/null and b/img/frames/ixalanLegends/crown/l.png differ diff --git a/img/frames/ixalanLegends/crown/lThumb.png b/img/frames/ixalanLegends/crown/lThumb.png new file mode 100644 index 00000000..f7cece34 Binary files /dev/null and b/img/frames/ixalanLegends/crown/lThumb.png differ diff --git a/img/frames/ixalanLegends/crown/m.png b/img/frames/ixalanLegends/crown/m.png new file mode 100644 index 00000000..2bd42676 Binary files /dev/null and b/img/frames/ixalanLegends/crown/m.png differ diff --git a/img/frames/ixalanLegends/crown/mThumb.png b/img/frames/ixalanLegends/crown/mThumb.png new file mode 100644 index 00000000..f53f8df2 Binary files /dev/null and b/img/frames/ixalanLegends/crown/mThumb.png differ diff --git a/img/frames/ixalanLegends/crown/r.png b/img/frames/ixalanLegends/crown/r.png new file mode 100644 index 00000000..031e8e37 Binary files /dev/null and b/img/frames/ixalanLegends/crown/r.png differ diff --git a/img/frames/ixalanLegends/crown/rThumb.png b/img/frames/ixalanLegends/crown/rThumb.png new file mode 100644 index 00000000..13b872c3 Binary files /dev/null and b/img/frames/ixalanLegends/crown/rThumb.png differ diff --git a/img/frames/ixalanLegends/crown/u.png b/img/frames/ixalanLegends/crown/u.png new file mode 100644 index 00000000..8f3b2dc9 Binary files /dev/null and b/img/frames/ixalanLegends/crown/u.png differ diff --git a/img/frames/ixalanLegends/crown/uThumb.png b/img/frames/ixalanLegends/crown/uThumb.png new file mode 100644 index 00000000..89190f60 Binary files /dev/null and b/img/frames/ixalanLegends/crown/uThumb.png differ diff --git a/img/frames/ixalanLegends/crown/w.png b/img/frames/ixalanLegends/crown/w.png new file mode 100644 index 00000000..db27e353 Binary files /dev/null and b/img/frames/ixalanLegends/crown/w.png differ diff --git a/img/frames/ixalanLegends/crown/wThumb.png b/img/frames/ixalanLegends/crown/wThumb.png new file mode 100644 index 00000000..07e40b2b Binary files /dev/null and b/img/frames/ixalanLegends/crown/wThumb.png differ diff --git a/img/frames/ixalanLegends/g1.png b/img/frames/ixalanLegends/g1.png new file mode 100644 index 00000000..e2bbb3fa Binary files /dev/null and b/img/frames/ixalanLegends/g1.png differ diff --git a/img/frames/ixalanLegends/g1Thumb.png b/img/frames/ixalanLegends/g1Thumb.png new file mode 100644 index 00000000..b31ae0e8 Binary files /dev/null and b/img/frames/ixalanLegends/g1Thumb.png differ diff --git a/img/frames/ixalanLegends/g2.png b/img/frames/ixalanLegends/g2.png new file mode 100644 index 00000000..e2a5d45c Binary files /dev/null and b/img/frames/ixalanLegends/g2.png differ diff --git a/img/frames/ixalanLegends/g2Thumb.png b/img/frames/ixalanLegends/g2Thumb.png new file mode 100644 index 00000000..d6036f2f Binary files /dev/null and b/img/frames/ixalanLegends/g2Thumb.png differ diff --git a/img/frames/ixalanLegends/g3.png b/img/frames/ixalanLegends/g3.png new file mode 100644 index 00000000..a8255979 Binary files /dev/null and b/img/frames/ixalanLegends/g3.png differ diff --git a/img/frames/ixalanLegends/g3Thumb.png b/img/frames/ixalanLegends/g3Thumb.png new file mode 100644 index 00000000..6050ebf6 Binary files /dev/null and b/img/frames/ixalanLegends/g3Thumb.png differ diff --git a/img/frames/ixalanLegends/l1.png b/img/frames/ixalanLegends/l1.png new file mode 100644 index 00000000..225343ba Binary files /dev/null and b/img/frames/ixalanLegends/l1.png differ diff --git a/img/frames/ixalanLegends/l1Thumb.png b/img/frames/ixalanLegends/l1Thumb.png new file mode 100644 index 00000000..06588d87 Binary files /dev/null and b/img/frames/ixalanLegends/l1Thumb.png differ diff --git a/img/frames/ixalanLegends/l2.png b/img/frames/ixalanLegends/l2.png new file mode 100644 index 00000000..f6e3a1f8 Binary files /dev/null and b/img/frames/ixalanLegends/l2.png differ diff --git a/img/frames/ixalanLegends/l2Thumb.png b/img/frames/ixalanLegends/l2Thumb.png new file mode 100644 index 00000000..85ee32d1 Binary files /dev/null and b/img/frames/ixalanLegends/l2Thumb.png differ diff --git a/img/frames/ixalanLegends/l3.png b/img/frames/ixalanLegends/l3.png new file mode 100644 index 00000000..697a0f8a Binary files /dev/null and b/img/frames/ixalanLegends/l3.png differ diff --git a/img/frames/ixalanLegends/l3Thumb.png b/img/frames/ixalanLegends/l3Thumb.png new file mode 100644 index 00000000..06e184bc Binary files /dev/null and b/img/frames/ixalanLegends/l3Thumb.png differ diff --git a/img/frames/ixalanLegends/m1.png b/img/frames/ixalanLegends/m1.png new file mode 100644 index 00000000..e90d26c4 Binary files /dev/null and b/img/frames/ixalanLegends/m1.png differ diff --git a/img/frames/ixalanLegends/m1Thumb.png b/img/frames/ixalanLegends/m1Thumb.png new file mode 100644 index 00000000..821af10e Binary files /dev/null and b/img/frames/ixalanLegends/m1Thumb.png differ diff --git a/img/frames/ixalanLegends/m2.png b/img/frames/ixalanLegends/m2.png new file mode 100644 index 00000000..0614c486 Binary files /dev/null and b/img/frames/ixalanLegends/m2.png differ diff --git a/img/frames/ixalanLegends/m2Thumb.png b/img/frames/ixalanLegends/m2Thumb.png new file mode 100644 index 00000000..1ca37ca7 Binary files /dev/null and b/img/frames/ixalanLegends/m2Thumb.png differ diff --git a/img/frames/ixalanLegends/m3.png b/img/frames/ixalanLegends/m3.png new file mode 100644 index 00000000..1be49e51 Binary files /dev/null and b/img/frames/ixalanLegends/m3.png differ diff --git a/img/frames/ixalanLegends/m3Thumb.png b/img/frames/ixalanLegends/m3Thumb.png new file mode 100644 index 00000000..4a026afe Binary files /dev/null and b/img/frames/ixalanLegends/m3Thumb.png differ diff --git a/img/frames/ixalanLegends/margin.png b/img/frames/ixalanLegends/margin.png new file mode 100644 index 00000000..090c513a Binary files /dev/null and b/img/frames/ixalanLegends/margin.png differ diff --git a/img/frames/ixalanLegends/marginThumb.png b/img/frames/ixalanLegends/marginThumb.png new file mode 100644 index 00000000..d46f1949 Binary files /dev/null and b/img/frames/ixalanLegends/marginThumb.png differ diff --git a/img/frames/ixalanLegends/pt/a.png b/img/frames/ixalanLegends/pt/a.png new file mode 100644 index 00000000..a822e492 Binary files /dev/null and b/img/frames/ixalanLegends/pt/a.png differ diff --git a/img/frames/ixalanLegends/pt/aThumb.png b/img/frames/ixalanLegends/pt/aThumb.png new file mode 100644 index 00000000..b0fb957c Binary files /dev/null and b/img/frames/ixalanLegends/pt/aThumb.png differ diff --git a/img/frames/ixalanLegends/pt/b.png b/img/frames/ixalanLegends/pt/b.png new file mode 100644 index 00000000..72dc6243 Binary files /dev/null and b/img/frames/ixalanLegends/pt/b.png differ diff --git a/img/frames/ixalanLegends/pt/bThumb.png b/img/frames/ixalanLegends/pt/bThumb.png new file mode 100644 index 00000000..19af23ab Binary files /dev/null and b/img/frames/ixalanLegends/pt/bThumb.png differ diff --git a/img/frames/ixalanLegends/pt/g.png b/img/frames/ixalanLegends/pt/g.png new file mode 100644 index 00000000..d9f952bb Binary files /dev/null and b/img/frames/ixalanLegends/pt/g.png differ diff --git a/img/frames/ixalanLegends/pt/gThumb.png b/img/frames/ixalanLegends/pt/gThumb.png new file mode 100644 index 00000000..f92eb0f3 Binary files /dev/null and b/img/frames/ixalanLegends/pt/gThumb.png differ diff --git a/img/frames/ixalanLegends/pt/l.png b/img/frames/ixalanLegends/pt/l.png new file mode 100644 index 00000000..2007ccb5 Binary files /dev/null and b/img/frames/ixalanLegends/pt/l.png differ diff --git a/img/frames/ixalanLegends/pt/lThumb.png b/img/frames/ixalanLegends/pt/lThumb.png new file mode 100644 index 00000000..f6961522 Binary files /dev/null and b/img/frames/ixalanLegends/pt/lThumb.png differ diff --git a/img/frames/ixalanLegends/pt/m.png b/img/frames/ixalanLegends/pt/m.png new file mode 100644 index 00000000..4c61d584 Binary files /dev/null and b/img/frames/ixalanLegends/pt/m.png differ diff --git a/img/frames/ixalanLegends/pt/mThumb.png b/img/frames/ixalanLegends/pt/mThumb.png new file mode 100644 index 00000000..7f394250 Binary files /dev/null and b/img/frames/ixalanLegends/pt/mThumb.png differ diff --git a/img/frames/ixalanLegends/pt/r.png b/img/frames/ixalanLegends/pt/r.png new file mode 100644 index 00000000..d4a5757d Binary files /dev/null and b/img/frames/ixalanLegends/pt/r.png differ diff --git a/img/frames/ixalanLegends/pt/rThumb.png b/img/frames/ixalanLegends/pt/rThumb.png new file mode 100644 index 00000000..b5eada61 Binary files /dev/null and b/img/frames/ixalanLegends/pt/rThumb.png differ diff --git a/img/frames/ixalanLegends/pt/u.png b/img/frames/ixalanLegends/pt/u.png new file mode 100644 index 00000000..a1aabcce Binary files /dev/null and b/img/frames/ixalanLegends/pt/u.png differ diff --git a/img/frames/ixalanLegends/pt/uThumb.png b/img/frames/ixalanLegends/pt/uThumb.png new file mode 100644 index 00000000..bd687611 Binary files /dev/null and b/img/frames/ixalanLegends/pt/uThumb.png differ diff --git a/img/frames/ixalanLegends/pt/w.png b/img/frames/ixalanLegends/pt/w.png new file mode 100644 index 00000000..6a4e5e20 Binary files /dev/null and b/img/frames/ixalanLegends/pt/w.png differ diff --git a/img/frames/ixalanLegends/pt/wThumb.png b/img/frames/ixalanLegends/pt/wThumb.png new file mode 100644 index 00000000..d19def40 Binary files /dev/null and b/img/frames/ixalanLegends/pt/wThumb.png differ diff --git a/img/frames/ixalanLegends/r1.png b/img/frames/ixalanLegends/r1.png new file mode 100644 index 00000000..44c6c355 Binary files /dev/null and b/img/frames/ixalanLegends/r1.png differ diff --git a/img/frames/ixalanLegends/r1Thumb.png b/img/frames/ixalanLegends/r1Thumb.png new file mode 100644 index 00000000..6f32ccd7 Binary files /dev/null and b/img/frames/ixalanLegends/r1Thumb.png differ diff --git a/img/frames/ixalanLegends/r2.png b/img/frames/ixalanLegends/r2.png new file mode 100644 index 00000000..09fa41c2 Binary files /dev/null and b/img/frames/ixalanLegends/r2.png differ diff --git a/img/frames/ixalanLegends/r2Thumb.png b/img/frames/ixalanLegends/r2Thumb.png new file mode 100644 index 00000000..a7ca5120 Binary files /dev/null and b/img/frames/ixalanLegends/r2Thumb.png differ diff --git a/img/frames/ixalanLegends/r3.png b/img/frames/ixalanLegends/r3.png new file mode 100644 index 00000000..e8b4264b Binary files /dev/null and b/img/frames/ixalanLegends/r3.png differ diff --git a/img/frames/ixalanLegends/r3Thumb.png b/img/frames/ixalanLegends/r3Thumb.png new file mode 100644 index 00000000..31e3ec00 Binary files /dev/null and b/img/frames/ixalanLegends/r3Thumb.png differ diff --git a/img/frames/ixalanLegends/u1.png b/img/frames/ixalanLegends/u1.png new file mode 100644 index 00000000..285c6e6e Binary files /dev/null and b/img/frames/ixalanLegends/u1.png differ diff --git a/img/frames/ixalanLegends/u1Thumb.png b/img/frames/ixalanLegends/u1Thumb.png new file mode 100644 index 00000000..34140630 Binary files /dev/null and b/img/frames/ixalanLegends/u1Thumb.png differ diff --git a/img/frames/ixalanLegends/u2.png b/img/frames/ixalanLegends/u2.png new file mode 100644 index 00000000..853c00cd Binary files /dev/null and b/img/frames/ixalanLegends/u2.png differ diff --git a/img/frames/ixalanLegends/u2Thumb.png b/img/frames/ixalanLegends/u2Thumb.png new file mode 100644 index 00000000..cf4eedda Binary files /dev/null and b/img/frames/ixalanLegends/u2Thumb.png differ diff --git a/img/frames/ixalanLegends/u3.png b/img/frames/ixalanLegends/u3.png new file mode 100644 index 00000000..28a73b3f Binary files /dev/null and b/img/frames/ixalanLegends/u3.png differ diff --git a/img/frames/ixalanLegends/u3Thumb.png b/img/frames/ixalanLegends/u3Thumb.png new file mode 100644 index 00000000..8fb02258 Binary files /dev/null and b/img/frames/ixalanLegends/u3Thumb.png differ diff --git a/img/frames/ixalanLegends/w1.png b/img/frames/ixalanLegends/w1.png new file mode 100644 index 00000000..958946ba Binary files /dev/null and b/img/frames/ixalanLegends/w1.png differ diff --git a/img/frames/ixalanLegends/w1Thumb.png b/img/frames/ixalanLegends/w1Thumb.png new file mode 100644 index 00000000..8a7e5311 Binary files /dev/null and b/img/frames/ixalanLegends/w1Thumb.png differ diff --git a/img/frames/ixalanLegends/w2.png b/img/frames/ixalanLegends/w2.png new file mode 100644 index 00000000..faa1e47f Binary files /dev/null and b/img/frames/ixalanLegends/w2.png differ diff --git a/img/frames/ixalanLegends/w2Thumb.png b/img/frames/ixalanLegends/w2Thumb.png new file mode 100644 index 00000000..3d4b328d Binary files /dev/null and b/img/frames/ixalanLegends/w2Thumb.png differ diff --git a/img/frames/ixalanLegends/w3.png b/img/frames/ixalanLegends/w3.png new file mode 100644 index 00000000..871d7318 Binary files /dev/null and b/img/frames/ixalanLegends/w3.png differ diff --git a/img/frames/ixalanLegends/w3Thumb.png b/img/frames/ixalanLegends/w3Thumb.png new file mode 100644 index 00000000..21407916 Binary files /dev/null and b/img/frames/ixalanLegends/w3Thumb.png differ diff --git a/js/frameSearch.js b/js/frameSearch.js index 51501f77..7ca41f04 100644 --- a/js/frameSearch.js +++ b/js/frameSearch.js @@ -45,6 +45,9 @@ const frameNames = new Map ([ ['Vault (BIG)', 'Vault'], ['Wanted Poster (OTJ)', 'Wanted'], ['Dossier (MKM)', 'Dossier'], + ['Legends of Ixalan - Pattern 1 (LCI)', 'IxalanLegends1'], + ['Legends of Ixalan - Pattern 2 (LCI)', 'IxalanLegends2'], + ['Legends of Ixalan - Pattern 3 (LCI)', 'IxalanLegends3'], ['Scrolls of Middle-earth (LTR)', 'Scroll'], ['Pip-Boy (PIP)', 'Pipboy'], ['Enchanting Tales (WOT)', 'EnchantingTales'], diff --git a/js/frames/groupMargin.js b/js/frames/groupMargin.js index bf4cff41..9308157a 100644 --- a/js/frames/groupMargin.js +++ b/js/frames/groupMargin.js @@ -1,5 +1,6 @@ loadFramePacks([ {name:'Generic Margins', value:'Margin-1'}, + {name:'Legends of Ixalan Margins', value:'MarginIxalanLegends'}, {name:'Memory Corridor Margins', value:'MarginMemoryCorridor'}, {name:'Breaking News Margin', value:'MarginBreakingNews'}, {name:'Vault Margins', value:'MarginVault'}, diff --git a/js/frames/groupShowcase-5.js b/js/frames/groupShowcase-5.js index 3f36e203..8107b6a1 100644 --- a/js/frames/groupShowcase-5.js +++ b/js/frames/groupShowcase-5.js @@ -8,6 +8,9 @@ loadFramePacks([ {name:'Wanted Poster (OTJ)', value:'Wanted'}, {name:'Pip-Boy (PIP)', value:'Pipboy'}, {name:'Dossier (MKM)', value:'Dossier'}, + {name:'Legends of Ixalan - Pattern 1 (LCI)', value:'IxalanLegends1'}, + {name:'Legends of Ixalan - Pattern 2 (LCI)', value:'IxalanLegends2'}, + {name:'Legends of Ixalan - Pattern 3 (LCI)', value:'IxalanLegends3'}, {name:'Scrolls of Middle-earth (LTR)', value:'Scroll'}, {name:'Enchanting Tales (WOT)', value:'EnchantingTales'}, {name:'Eldraine Storybooks: Adventures (WOE)', value:'StorybookWOE'}, diff --git a/js/frames/packIxalanLegends1.js b/js/frames/packIxalanLegends1.js new file mode 100644 index 00000000..8cc66d29 --- /dev/null +++ b/js/frames/packIxalanLegends1.js @@ -0,0 +1,64 @@ +//Create objects for common properties across available frames +var ptBounds = {x:1507/2010, y:2488/2814, width:418/2010, height:208/2814}; +var crownBounds = {x:159/2010, y:52/2814, width:1694/2010, height:83/2814}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/ixalanLegends/w1.png'}, + {name:'Blue Frame', src:'/img/frames/ixalanLegends/u1.png'}, + {name:'Black Frame', src:'/img/frames/ixalanLegends/b1.png'}, + {name:'Red Frame', src:'/img/frames/ixalanLegends/r1.png'}, + {name:'Green Frame', src:'/img/frames/ixalanLegends/g1.png'}, + {name:'Multicolored Frame', src:'/img/frames/ixalanLegends/m1.png'}, + {name:'Artifact Frame', src:'/img/frames/ixalanLegends/a1.png'}, + {name:'Land Frame', src:'/img/frames/ixalanLegends/c1.png'}, + + {name:'White Power/Toughness', src:'/img/frames/ixalanLegends/pt/w.png', bounds: ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/ixalanLegends/pt/u.png', bounds: ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/ixalanLegends/pt/b.png', bounds: ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/ixalanLegends/pt/r.png', bounds: ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/ixalanLegends/pt/g.png', bounds: ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/ixalanLegends/pt/m.png', bounds: ptBounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/ixalanLegends/pt/a.png', bounds: ptBounds}, + {name:'Land Power/Toughness', src:'/img/frames/ixalanLegends/pt/c.png', bounds: ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/ixalanLegends/crown/w.png', bounds: crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/ixalanLegends/crown/u.png', bounds: crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/ixalanLegends/crown/b.png', bounds: crownBounds}, + {name:'Red Legendary Crown', src:'/img/frames/ixalanLegends/crown/r.png', bounds: crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/ixalanLegends/crown/g.png', bounds: crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/ixalanLegends/crown/m.png', bounds: crownBounds}, + {name:'Artifact Legendary Crown', src:'/img/frames/ixalanLegends/crown/a.png', bounds: crownBounds}, + {name:'Land Legendary Crown', src:'/img/frames/ixalanLegends/crown/c.png', bounds: crownBounds} +]; +//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 = 'ixalanLegends'; + //art bounds + card.artBounds = {x:128/2010, y:323/2814, width:1759/2010, height:1239/2814}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, 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.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362}, + pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'} + }); +} +//loads available frames +loadFramePack(); +//Only for the main version as the webpage loads: +if (!card.text) { + document.querySelector('#loadFrameVersion').click(); +} \ No newline at end of file diff --git a/js/frames/packIxalanLegends2.js b/js/frames/packIxalanLegends2.js new file mode 100644 index 00000000..b8dedad2 --- /dev/null +++ b/js/frames/packIxalanLegends2.js @@ -0,0 +1,64 @@ +//Create objects for common properties across available frames +var ptBounds = {x:1507/2010, y:2488/2814, width:418/2010, height:208/2814}; +var crownBounds = {x:159/2010, y:52/2814, width:1694/2010, height:83/2814}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/ixalanLegends/w2.png'}, + {name:'Blue Frame', src:'/img/frames/ixalanLegends/u2.png'}, + {name:'Black Frame', src:'/img/frames/ixalanLegends/b2.png'}, + {name:'Red Frame', src:'/img/frames/ixalanLegends/r2.png'}, + {name:'Green Frame', src:'/img/frames/ixalanLegends/g2.png'}, + {name:'Multicolored Frame', src:'/img/frames/ixalanLegends/m2.png'}, + {name:'Artifact Frame', src:'/img/frames/ixalanLegends/a2.png'}, + {name:'Land Frame', src:'/img/frames/ixalanLegends/c2.png'}, + + {name:'White Power/Toughness', src:'/img/frames/ixalanLegends/pt/w.png', bounds: ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/ixalanLegends/pt/u.png', bounds: ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/ixalanLegends/pt/b.png', bounds: ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/ixalanLegends/pt/r.png', bounds: ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/ixalanLegends/pt/g.png', bounds: ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/ixalanLegends/pt/m.png', bounds: ptBounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/ixalanLegends/pt/a.png', bounds: ptBounds}, + {name:'Land Power/Toughness', src:'/img/frames/ixalanLegends/pt/c.png', bounds: ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/ixalanLegends/crown/w.png', bounds: crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/ixalanLegends/crown/u.png', bounds: crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/ixalanLegends/crown/b.png', bounds: crownBounds}, + {name:'Red Legendary Crown', src:'/img/frames/ixalanLegends/crown/r.png', bounds: crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/ixalanLegends/crown/g.png', bounds: crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/ixalanLegends/crown/m.png', bounds: crownBounds}, + {name:'Artifact Legendary Crown', src:'/img/frames/ixalanLegends/crown/a.png', bounds: crownBounds}, + {name:'Land Legendary Crown', src:'/img/frames/ixalanLegends/crown/c.png', bounds: crownBounds} +]; +//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 = 'ixalanLegends'; + //art bounds + card.artBounds = {x:128/2010, y:323/2814, width:1759/2010, height:1239/2814}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, 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.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362}, + pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'} + }); +} +//loads available frames +loadFramePack(); +//Only for the main version as the webpage loads: +if (!card.text) { + document.querySelector('#loadFrameVersion').click(); +} \ No newline at end of file diff --git a/js/frames/packIxalanLegends3.js b/js/frames/packIxalanLegends3.js new file mode 100644 index 00000000..83e58e08 --- /dev/null +++ b/js/frames/packIxalanLegends3.js @@ -0,0 +1,64 @@ +//Create objects for common properties across available frames +var ptBounds = {x:1507/2010, y:2488/2814, width:418/2010, height:208/2814}; +var crownBounds = {x:159/2010, y:52/2814, width:1694/2010, height:83/2814}; +//defines available frames +availableFrames = [ + {name:'White Frame', src:'/img/frames/ixalanLegends/w3.png'}, + {name:'Blue Frame', src:'/img/frames/ixalanLegends/u3.png'}, + {name:'Black Frame', src:'/img/frames/ixalanLegends/b3.png'}, + {name:'Red Frame', src:'/img/frames/ixalanLegends/r3.png'}, + {name:'Green Frame', src:'/img/frames/ixalanLegends/g3.png'}, + {name:'Multicolored Frame', src:'/img/frames/ixalanLegends/m3.png'}, + {name:'Artifact Frame', src:'/img/frames/ixalanLegends/a3.png'}, + {name:'Land Frame', src:'/img/frames/ixalanLegends/c3.png'}, + + {name:'White Power/Toughness', src:'/img/frames/ixalanLegends/pt/w.png', bounds: ptBounds}, + {name:'Blue Power/Toughness', src:'/img/frames/ixalanLegends/pt/u.png', bounds: ptBounds}, + {name:'Black Power/Toughness', src:'/img/frames/ixalanLegends/pt/b.png', bounds: ptBounds}, + {name:'Red Power/Toughness', src:'/img/frames/ixalanLegends/pt/r.png', bounds: ptBounds}, + {name:'Green Power/Toughness', src:'/img/frames/ixalanLegends/pt/g.png', bounds: ptBounds}, + {name:'Multicolored Power/Toughness', src:'/img/frames/ixalanLegends/pt/m.png', bounds: ptBounds}, + {name:'Artifact Power/Toughness', src:'/img/frames/ixalanLegends/pt/a.png', bounds: ptBounds}, + {name:'Land Power/Toughness', src:'/img/frames/ixalanLegends/pt/c.png', bounds: ptBounds}, + + {name:'White Legendary Crown', src:'/img/frames/ixalanLegends/crown/w.png', bounds: crownBounds}, + {name:'Blue Legendary Crown', src:'/img/frames/ixalanLegends/crown/u.png', bounds: crownBounds}, + {name:'Black Legendary Crown', src:'/img/frames/ixalanLegends/crown/b.png', bounds: crownBounds}, + {name:'Red Legendary Crown', src:'/img/frames/ixalanLegends/crown/r.png', bounds: crownBounds}, + {name:'Green Legendary Crown', src:'/img/frames/ixalanLegends/crown/g.png', bounds: crownBounds}, + {name:'Multicolored Legendary Crown', src:'/img/frames/ixalanLegends/crown/m.png', bounds: crownBounds}, + {name:'Artifact Legendary Crown', src:'/img/frames/ixalanLegends/crown/a.png', bounds: crownBounds}, + {name:'Land Legendary Crown', src:'/img/frames/ixalanLegends/crown/c.png', bounds: crownBounds} +]; +//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 = 'ixalanLegends'; + //art bounds + card.artBounds = {x:128/2010, y:323/2814, width:1759/2010, height:1239/2814}; + autoFitArt(); + //set symbol bounds + card.setSymbolBounds = {x:0.9213, y:0.5910, width:0.12, height:0.0410, vertical:'center', horizontal: 'right'}; + resetSetSymbol(); + //watermark bounds + card.watermarkBounds = {x:0.5, y:0.7762, width:0.75, height:0.2305}; + resetWatermark(); + //text + loadTextOptions({ + mana: {name:'Mana Cost', text:'', y:0.0613, width:0.9292, 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.0854, y:0.0522, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0381}, + type: {name:'Type', text:'', x:0.0854, y:0.5664, width:0.8292, height:0.0543, oneLine:true, font:'belerenb', size:0.0324}, + rules: {name:'Rules Text', text:'', x:0.086, y:0.6303, width:0.828, height:0.2875, size:0.0362}, + pt: {name:'Power/Toughness', text:'', x:0.7928, y:0.902, width:0.1367, height:0.0372, size:0.0372, font:'belerenbsc', oneLine:true, align:'center'} + }); +} +//loads available frames +loadFramePack(); +//Only for the main version as the webpage loads: +if (!card.text) { + document.querySelector('#loadFrameVersion').click(); +} \ No newline at end of file diff --git a/js/frames/packMarginIxalanLegends.js b/js/frames/packMarginIxalanLegends.js new file mode 100644 index 00000000..7e8313fa --- /dev/null +++ b/js/frames/packMarginIxalanLegends.js @@ -0,0 +1,23 @@ +//Create objects for common properties across available frames +var bounds = {x:-89/2010, y:-81/2814, width:2188/2010, height:2976/2814}; +var ogBounds = {x:0, y:0, width:1, height:1}; +//defines available frames +availableFrames = [ + {name:'Legends of Ixalan Margins', src:'/img/frames/ixalanLegends/margin.png', bounds:bounds, ogBounds:ogBounds} +]; +//disables/enables the "Load Frame Version" button +document.querySelector('#loadFrameVersion').disabled = false; + +document.querySelector('#loadFrameVersion').onclick = async function() { + loadMarginVersion(); + + await resetCardIrregularities({canvas:[getStandardWidth(), getStandardHeight(), 89/2010, 81/2814], resetOthers:false}); + + drawTextBuffer(); + drawFrames(); + bottomInfoEdited(); + watermarkEdited(); + drawNewGuidelines(); +} +//loads available frames +loadFramePack(); \ No newline at end of file