crowns, set symbols, and more

This commit is contained in:
Kyle
2022-09-25 15:35:20 -07:00
parent 906acdecde
commit b202b347d8
27 changed files with 115 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

7
img/manaSymbols/a.svg Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="32" height="32" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(1,0,0,1,0.5,0)">
<path d="M28.544,0.039C28.597,0.102 28.579,0.07 28.605,0.13C29.09,1.463 29.403,2.906 30.771,4.048C31.021,4.332 30.5,4.758 30.317,4.923C30.056,5.157 29.704,5.425 29.438,5.624C28.764,6.127 28.068,6.602 27.42,7.139C27.753,8.7 27.415,10.315 27.81,11.87C29.769,14.898 32.534,20.311 29.587,23.574C28.593,24.538 27.221,24.879 25.867,24.819C26.32,24.152 26.593,23.386 26.66,22.585C26.66,21.382 26.076,19.727 25.433,18.738C23.944,16.445 22.179,14.242 20.294,12.268C18.479,10.479 16.549,8.887 14.495,7.374C13.105,6.35 10.321,4.884 8.524,5.265C7.889,5.441 7.332,5.783 6.773,6.118C6.653,4.536 6.916,3.187 7.999,1.987C11.44,-1.066 17.012,2.004 20.141,4.052C20.902,4.369 21.771,4.216 22.568,4.193C23.35,4.193 24.187,4.156 24.929,4.449C26.065,3.269 26.842,1.806 27.872,0.543C28.011,0.372 28.217,0.078 28.455,0.021C28.484,0.014 28.514,0.033 28.543,0.04L28.544,0.039ZM11.029,9.883C11.434,10.359 12.179,11.358 11.431,11.871C4.522,15.427 2.579,24.845 2.579,24.845C2.579,24.845 -0.853,16.547 7.687,9.57C8.85,8.62 9.996,8.895 11.029,9.883ZM19.043,13.505C17.332,11.819 15.594,10.169 13.649,8.752C12.333,7.793 10.045,6.163 8.314,6.56C4.488,7.814 1.165,13.1 0.171,17.879C-0.349,20.377 0.433,23.594 0.913,26.191C1.404,28.851 1.289,30.707 1.289,30.707C1.289,30.707 2.632,30.407 5.177,30.832C7.774,31.267 11.598,32.422 13.926,31.804C18.536,30.581 24.995,26.504 25.278,22.773C25.299,21.618 24.548,20.409 23.949,19.47C22.559,17.295 20.817,15.367 19.041,13.505L19.043,13.505Z" style="fill-rule:nonzero;"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -260,7 +260,7 @@ const setSymbolAliases = new Map([
const mana = new Map(); const mana = new Map();
// var manaSymbols = []; // var manaSymbols = [];
loadManaSymbols(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', loadManaSymbols(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20',
'w', 'u', 'b', 'r', 'g', 'c', 'x', 'y', 'z', 't', 'untap', 'e', 's', 'oldtap', 'originaltap', 'purple']); 'w', 'u', 'b', 'r', 'g', 'c', 'x', 'y', 'z', 't', 'untap', 'e', 's', 'oldtap', 'originaltap', 'purple', "a"]);
loadManaSymbols(['wu', 'wb', 'ub', 'ur', 'br', 'bg', 'rg', 'rw', 'gw', 'gu', '2w', '2u', '2b', '2r', '2g', 'wp', 'up', 'bp', 'rp', 'gp', 'p', loadManaSymbols(['wu', 'wb', 'ub', 'ur', 'br', 'bg', 'rg', 'rw', 'gw', 'gu', '2w', '2u', '2b', '2r', '2g', 'wp', 'up', 'bp', 'rp', 'gp', 'p',
'wup', 'wbp', 'ubp', 'urp', 'brp', 'bgp', 'rgp', 'rwp', 'gwp', 'gup', 'purplew', 'purpleu', 'purpleb', 'purpler', 'purpleg', 'wup', 'wbp', 'ubp', 'urp', 'brp', 'bgp', 'rgp', 'rwp', 'gwp', 'gup', 'purplew', 'purpleu', 'purpleb', 'purpler', 'purpleg',
'2purple', 'purplep'], [1.2, 1.2]); '2purple', 'purplep'], [1.2, 1.2]);

View File

@@ -94,6 +94,7 @@ const frameNames = new Map ([
['SDCC15 (Blackout)', 'TransformSDCC15'], ['SDCC15 (Blackout)', 'TransformSDCC15'],
['DFC Legend Crowns', 'TransformLegendCrowns'], ['DFC Legend Crowns', 'TransformLegendCrowns'],
['DFC Floating Legend Crowns', 'TransformLegendCrownsFloating'], ['DFC Floating Legend Crowns', 'TransformLegendCrownsFloating'],
['DFC Nickname Legend Crowns', 'TransformLegendCrownsNickname'],
//modal //modal
['Modal DFC', 'ModalRegular'], ['Modal DFC', 'ModalRegular'],
['Modal DFC Borderless', 'ModalBorderless'], ['Modal DFC Borderless', 'ModalBorderless'],

View File

@@ -14,6 +14,7 @@ loadFramePacks([
{name:'Addons', value:'disabled'}, {name:'Addons', value:'disabled'},
{name:'Legend Crowns', value:'TransformLegendCrowns'}, {name:'Legend Crowns', value:'TransformLegendCrowns'},
{name:'Floating Legend Crowns', value:'TransformLegendCrownsFloating'}, {name:'Floating Legend Crowns', value:'TransformLegendCrownsFloating'},
{name:'Nickname Legend Crowns', value:'TransformLegendCrownsNickname'},
{name:'Inner Crowns', value:'M15InnerCrowns'}, {name:'Inner Crowns', value:'M15InnerCrowns'},
{name:'Holo Stamps', value:'M15HoloStamps'}, {name:'Holo Stamps', value:'M15HoloStamps'},
{name:'Dark Power/Toughness', value:'M15DarkPT'}, {name:'Dark Power/Toughness', value:'M15DarkPT'},

View File

@@ -0,0 +1,21 @@
//Create objects for common properties across available frames
var bounds = {x:0.0234, y:0.0167, width:0.952, height:0.1286};
//defines available frames
availableFrames = [
{name:'White Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/w.png', bounds:bounds, complementary:[8,9]},
{name:'Blue Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/u.png', bounds:bounds, complementary:[8,9]},
{name:'Black Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/b.png', bounds:bounds, complementary:[8,9]},
{name:'Red Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/r.png', bounds:bounds, complementary:[8,9]},
{name:'Green Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/g.png', bounds:bounds, complementary:[8,9]},
{name:'Multicolored Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/m.png', bounds:bounds, complementary:[8,9]},
{name:'Artifact Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/a.png', bounds:bounds, complementary:[8,9]},
{name:'Land Legend Crown', src:'/img/frames/m15/transform/crowns/nickname/l.png', bounds:bounds, complementary:[8,9]},
{name:'Legend Crown Border Cover', src:'/img/black.png', bounds:{x:0.0394, y:0.0277, width:0.9214, height:0.0177}, erase:true},
{name:'Legend Crown Lower Cutout', src:'/img/black.png', bounds:{x:0.0767, y:0.1096, width:0.8467, height:0.0143}, erase:true}
];
//disables/enables the "Load Frame Version" button
document.querySelector('#loadFrameVersion').disabled = true;
//defines process for loading this version, if applicable
document.querySelector('#loadFrameVersion').onclick = null;
//loads available frames
loadFramePack();