Add Universes Beyond legend crowns

Squashed commit of the following:

commit 28b7bf7e3bccb04abe8b43ed692c81258df835e3
Author: Josh birnholz <josh@birnholz.com>
Date:   Sat Jun 10 22:04:15 2023 -0400

    Update .gitignore

commit 522479888780fd473a33a38925de0f5c1b4cfb56
Author: Josh birnholz <josh@birnholz.com>
Date:   Sat Jun 10 22:02:01 2023 -0400

    Add UB legend crowns to saga group

commit 79087de9fc79ec59db0d519f707d760e9a29ffdc
Author: Josh birnholz <josh@birnholz.com>
Date:   Sat Jun 10 21:56:08 2023 -0400

    Remove bak files

commit e477ba875535751a7a013600a6522c5d894a1c33
Author: Klisz <kennercat@gmail.com>
Date:   Thu Jun 1 17:14:14 2023 -0600

    Add Universes Beyond legend crowns
This commit is contained in:
Josh birnholz
2023-06-10 22:09:27 -04:00
parent d88b60c76a
commit 2ec0941b39
26 changed files with 29 additions and 4 deletions

View File

@@ -829,10 +829,10 @@ async function autoUBFrame(colors, mana_cost, type_line, power) {
if (type_line.toLowerCase().includes('legendary')) {
if (properties.pinlineRight) {
frames.push(makeM15FrameByLetter(properties.pinlineRight, 'Crown', true));
frames.push(makeUBFrameByLetter(properties.pinlineRight, 'Crown', true));
}
frames.push(makeM15FrameByLetter(properties.pinline, "Crown", false));
frames.push(makeM15FrameByLetter(properties.pinline, "Crown Border Cover", false));
frames.push(makeUBFrameByLetter(properties.pinline, "Crown", false));
frames.push(makeUBFrameByLetter(properties.pinline, "Crown Border Cover", false));
}
if (properties.pinlineRight) {
frames.push(makeUBFrameByLetter(properties.pinlineRight, 'Stamp', true));
@@ -1561,7 +1561,7 @@ function makeUBFrameByLetter(letter, mask = false, maskToRightHalf = false) {
if (mask == "Crown") {
var frame = {
'name': frameName + ' Legend Crown',
'src': '/img/frames/m15/crowns/m15Crown' + letter + '.png',
'src': '/img/frames/m15/ub/crowns/m15Crown' + letter + '.png',
'masks': [],
'bounds': {
'height': 0.1667,