Add UB Power/Toughness box

This commit is contained in:
Josh Birnholz
2023-07-10 22:17:40 -04:00
parent 47a280c097
commit dda94ec900
20 changed files with 26 additions and 26 deletions

BIN
img/frames/m15/ub/pt/a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
img/frames/m15/ub/pt/b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
img/frames/m15/ub/pt/c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
img/frames/m15/ub/pt/g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
img/frames/m15/ub/pt/m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
img/frames/m15/ub/pt/r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
img/frames/m15/ub/pt/u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
img/frames/m15/ub/pt/w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -839,7 +839,7 @@ async function autoUBFrame(colors, mana_cost, type_line, power) {
} }
frames.push(makeUBFrameByLetter(properties.pinline, "Stamp", false)); frames.push(makeUBFrameByLetter(properties.pinline, "Stamp", false));
if (properties.pt) { if (properties.pt) {
frames.push(makeM15FrameByLetter(properties.pt, 'PT', false)); frames.push(makeUBFrameByLetter(properties.pt, 'PT', false));
} }
if (properties.pinlineRight) { if (properties.pinlineRight) {
frames.push(makeUBFrameByLetter(properties.pinlineRight, 'Pinline', true)); frames.push(makeUBFrameByLetter(properties.pinlineRight, 'Pinline', true));
@@ -1601,7 +1601,7 @@ function makeUBFrameByLetter(letter, mask = false, maskToRightHalf = false) {
if (mask == 'PT') { if (mask == 'PT') {
return { return {
'name': frameName + ' Power/Toughness', 'name': frameName + ' Power/Toughness',
'src': '/img/frames/m15/regular/m15PT' + letter + '.png', 'src': '/img/frames/m15/ub/pt/' + (letter == 'L' ? 'C' : letter).toLowerCase() + '.png',
'masks': [], 'masks': [],
'bounds': { 'bounds': {
'height': 0.0733, 'height': 0.0733,

View File

@@ -18,14 +18,14 @@ availableFrames = [
{name:'Red Land Frame', src:'/img/frames/m15/ub/regular/rl.png', masks:masks}, {name:'Red Land Frame', src:'/img/frames/m15/ub/regular/rl.png', masks:masks},
{name:'Green Land Frame', src:'/img/frames/m15/ub/regular/gl.png', masks:masks}, {name:'Green Land Frame', src:'/img/frames/m15/ub/regular/gl.png', masks:masks},
{name:'Multicolored Land Frame', src:'/img/frames/m15/ub/regular/ml.png', masks:masks}, {name:'Multicolored Land Frame', src:'/img/frames/m15/ub/regular/ml.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/regular/m15PTW.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/m15/ub/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/regular/m15PTU.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/m15/ub/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/regular/m15PTB.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/m15/ub/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/regular/m15PTR.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/m15/ub/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/regular/m15PTG.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/m15/ub/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/regular/m15PTM.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/m15/ub/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/regular/m15PTA.png', bounds:bounds}, {name:'Artifact Power/Toughness', src:'/img/frames/m15/ub/pt/a.png', bounds:bounds},
{name:'Colorless Power/Toughness', src:'/img/frames/m15/regular/m15PTC.png', bounds:bounds}, {name:'Colorless Power/Toughness', src:'/img/frames/m15/ub/pt/c.png', bounds:bounds},
{name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2}, {name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2},
{name:'Blue Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/u.png', bounds:bounds2}, {name:'Blue Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/u.png', bounds:bounds2},
{name:'Black Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/b.png', bounds:bounds2}, {name:'Black Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/b.png', bounds:bounds2},

View File

@@ -18,14 +18,14 @@ availableFrames = [
{name:'Red Land Frame', src:'/img/frames/m15/ub/extended/rl.png', masks:masks}, {name:'Red Land Frame', src:'/img/frames/m15/ub/extended/rl.png', masks:masks},
{name:'Green Land Frame', src:'/img/frames/m15/ub/extended/gl.png', masks:masks}, {name:'Green Land Frame', src:'/img/frames/m15/ub/extended/gl.png', masks:masks},
{name:'Multicolored Land Frame', src:'/img/frames/m15/ub/extended/ml.png', masks:masks}, {name:'Multicolored Land Frame', src:'/img/frames/m15/ub/extended/ml.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/regular/m15PTW.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/m15/ub/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/regular/m15PTU.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/m15/ub/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/regular/m15PTB.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/m15/ub/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/regular/m15PTR.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/m15/ub/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/regular/m15PTG.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/m15/ub/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/regular/m15PTM.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/m15/ub/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/regular/m15PTA.png', bounds:bounds}, {name:'Artifact Power/Toughness', src:'/img/frames/m15/ub/pt/a.png', bounds:bounds},
{name:'Colorless Power/Toughness', src:'/img/frames/m15/regular/m15PTC.png', bounds:bounds}, {name:'Colorless Power/Toughness', src:'/img/frames/m15/ub/pt/c.png', bounds:bounds},
{name:'Bevel Cutout for Nickname', src:'/img/black.png', bounds:{x:0.058, y:0.111, width:0.884, height:0.0381}, erase:true}, {name:'Bevel Cutout for Nickname', src:'/img/black.png', bounds:{x:0.058, y:0.111, width:0.884, height:0.0381}, erase:true},
{name:'Nickname Bevel', src:'/img/frames/m15/boxTopper/m15BoxTopperNicknameBevel.png', bounds:{x:0.058, y:0.111, width:0.884, height:0.0381}}, {name:'Nickname Bevel', src:'/img/frames/m15/boxTopper/m15BoxTopperNicknameBevel.png', bounds:{x:0.058, y:0.111, width:0.884, height:0.0381}},
{name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2}, {name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2},

View File

@@ -18,14 +18,14 @@ availableFrames = [
{name:'Red Land Frame', src:'/img/frames/m15/ub/full/rl.png', masks:masks}, {name:'Red Land Frame', src:'/img/frames/m15/ub/full/rl.png', masks:masks},
{name:'Green Land Frame', src:'/img/frames/m15/ub/full/gl.png', masks:masks}, {name:'Green Land Frame', src:'/img/frames/m15/ub/full/gl.png', masks:masks},
{name:'Multicolored Land Frame', src:'/img/frames/m15/ub/full/ml.png', masks:masks}, {name:'Multicolored Land Frame', src:'/img/frames/m15/ub/full/ml.png', masks:masks},
{name:'White Power/Toughness', src:'/img/frames/m15/regular/m15PTW.png', bounds:bounds}, {name:'White Power/Toughness', src:'/img/frames/m15/ub/pt/w.png', bounds:bounds},
{name:'Blue Power/Toughness', src:'/img/frames/m15/regular/m15PTU.png', bounds:bounds}, {name:'Blue Power/Toughness', src:'/img/frames/m15/ub/pt/u.png', bounds:bounds},
{name:'Black Power/Toughness', src:'/img/frames/m15/regular/m15PTB.png', bounds:bounds}, {name:'Black Power/Toughness', src:'/img/frames/m15/ub/pt/b.png', bounds:bounds},
{name:'Red Power/Toughness', src:'/img/frames/m15/regular/m15PTR.png', bounds:bounds}, {name:'Red Power/Toughness', src:'/img/frames/m15/ub/pt/r.png', bounds:bounds},
{name:'Green Power/Toughness', src:'/img/frames/m15/regular/m15PTG.png', bounds:bounds}, {name:'Green Power/Toughness', src:'/img/frames/m15/ub/pt/g.png', bounds:bounds},
{name:'Multicolored Power/Toughness', src:'/img/frames/m15/regular/m15PTM.png', bounds:bounds}, {name:'Multicolored Power/Toughness', src:'/img/frames/m15/ub/pt/m.png', bounds:bounds},
{name:'Artifact Power/Toughness', src:'/img/frames/m15/regular/m15PTA.png', bounds:bounds}, {name:'Artifact Power/Toughness', src:'/img/frames/m15/ub/pt/a.png', bounds:bounds},
{name:'Colorless Power/Toughness', src:'/img/frames/m15/regular/m15PTC.png', bounds:bounds}, {name:'Colorless Power/Toughness', src:'/img/frames/m15/ub/pt/c.png', bounds:bounds},
{name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2}, {name:'White Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/w.png', bounds:bounds2},
{name:'Blue Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/u.png', bounds:bounds2}, {name:'Blue Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/u.png', bounds:bounds2},
{name:'Black Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/b.png', bounds:bounds2}, {name:'Black Holo Stamp', src:'/img/frames/m15/ub/regular/stamp/b.png', bounds:bounds2},