mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update snow land frames
This commit is contained in:

committed by
Josh birnholz

parent
4b2a357f06
commit
ef6c4c6834
BIN
img/frames/m15/snow/ml.png
Normal file
BIN
img/frames/m15/snow/ml.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
BIN
img/frames/m15/snow/mlThumb.png
Normal file
BIN
img/frames/m15/snow/mlThumb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@@ -1144,14 +1144,16 @@ function makeM15FrameByLetter(letter, mask = false, maskToRightHalf = false, sty
|
|||||||
'src': '/img/frames/m15/' + style.toLowerCase() + '/m15Frame' + letter + '.png',
|
'src': '/img/frames/m15/' + style.toLowerCase() + '/m15Frame' + letter + '.png',
|
||||||
}
|
}
|
||||||
|
|
||||||
if (letter.includes('L') && letter.length > 1) {
|
if (style == 'snow') {
|
||||||
frame.src = frame.src.replace(('m15Frame' + letter), 'l' + letter[0].toLowerCase())
|
frame.src = frame.src.replace('m15Frame' + letter, letter.toLowerCase());
|
||||||
}
|
} else {
|
||||||
|
if (letter.includes('L') && letter.length > 1) {
|
||||||
|
frame.src = frame.src.replace(('m15Frame' + letter), 'l' + letter[0].toLowerCase())
|
||||||
|
}
|
||||||
|
|
||||||
if (style == 'Nyx') {
|
if (style == 'Nyx') {
|
||||||
frame.src = frame.src.replace('.png', 'Nyx.png');
|
frame.src = frame.src.replace('.png', 'Nyx.png');
|
||||||
} else if (style == 'snow') {
|
}
|
||||||
frame.src = frame.src.replace('m15Frame', '');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mask) {
|
if (mask) {
|
||||||
|
Reference in New Issue
Block a user