forked from GithubMirrors/cardconjurer
legends multicolored
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
<option disabled value=''>Old Frames</option>
|
||||
<option value="seventh">Seventh Edition</option>
|
||||
<option value="seventhTextless">Textless Seventh Edition</option>
|
||||
<option value="legends">Legends Multicolored</option>
|
||||
<option disabled value=''>Misc. Frames</option>
|
||||
<option value="planechase">Planechase</option>
|
||||
</select>
|
||||
|
BIN
data/images/cardImages/legends/legendsFrameM.png
Normal file
BIN
data/images/cardImages/legends/legendsFrameM.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
9
data/scripts/versions/legends/regular.js
Normal file
9
data/scripts/versions/legends/regular.js
Normal file
@@ -0,0 +1,9 @@
|
||||
if (!loadedVersions.includes('legends/regular')) {
|
||||
loadedVersions.push('legends/regular')
|
||||
loadFrameImages([
|
||||
['Multicolored Frame', '/data/images/cardImages/legends/legendsFrameM.png', 0, 0, 1, 1, ['Full']],
|
||||
['Foil Stamp', '/data/images/cardImages/seventh/seventhFoilStamp.png', 81/744, 867/1039, 300/744, 115/1039, ['Full']]
|
||||
], 'frameClassLegendsRegular')
|
||||
}
|
||||
|
||||
hideFrameImages('frameClassLegendsRegular')
|
49
data/scripts/versions/legends/version.js
Normal file
49
data/scripts/versions/legends/version.js
Normal file
@@ -0,0 +1,49 @@
|
||||
if (!loadedVersions.includes('legends/version')) {
|
||||
loadedVersions.push('legends/version')
|
||||
}
|
||||
|
||||
if (currentVersion != 'legends/version') {
|
||||
currentVersion = 'legends/version'
|
||||
|
||||
artX = scaleX(162 / 1500)
|
||||
artY = scaleY(194 / 2100)
|
||||
artWidth = scaleX(1176 / 1500)
|
||||
artHeight = scaleY(950 / 2100)
|
||||
|
||||
manaCostXPath = '1306 - 83 * manaSymbolIndex'
|
||||
manaCostYPath = '88'
|
||||
manaCostDiameter = '72'
|
||||
manaCostShadowOffset = '[0, 0]'
|
||||
manaCostDirection = 'reverse'
|
||||
|
||||
setSymbolX = [scaleX(1378/1500), 'right']
|
||||
setSymbolY = [scaleY(1216/2100), 'center']
|
||||
setSymbolWidth = scaleX(162/1500)
|
||||
setSymbolHeight = scaleY(72/2100)
|
||||
|
||||
watermarkX = scaleX(0.5)
|
||||
watermarkY = scaleY(1630/2100)
|
||||
watermarkWidth = scaleX(1140/1500)
|
||||
watermarkHeight = scaleY(484/2100)
|
||||
|
||||
bottomInfoFunction = 'bottomInfoLegends'
|
||||
|
||||
loadTextOptions([
|
||||
new cardText('Card Title', '', 124/1500, 150/2100, 1252/1500, 89/2100, 'goudymedieval', 89/2100, '#eee', ['oneLine=true','shadow=' + scaleY(3/2100)]),
|
||||
new cardText('Card Type', '', 154/1500, 1231/2100, 1192/1500, 69/2100, 'mplantin', 69/2100, '#eee', ['oneLine=true','shadow=' + scaleY(3/2100)]),
|
||||
new cardText('Rules Text', '', 196/1500, 1327/2100, 1108/1500, 590/2100, 'mplantin', 73/2100, 'black'),
|
||||
new cardText('Power/Toughness', '', 1212/1500, 1980/2100, 230/1500, 70/2100, 'mplantin', 87/2100, '#eee', ['oneLine=true,textAlign="center"','shadow=' + scaleY(3/2100)])
|
||||
])
|
||||
}
|
||||
|
||||
loadFramePackOptions([['regular', 'Regular']])
|
||||
|
||||
function bottomInfoLegends() {
|
||||
bottomInfoContext.clearRect(0, 0, cardWidth, cardHeight)
|
||||
writeText(
|
||||
[
|
||||
{text: 'Illus: ' + document.getElementById('inputInfoArtist').value, x: 150/1500, y: 1932/2100, width: 1200/1500, height: 60/2100, font: 'mplantin', fontSize: 60/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
|
||||
{text: '\u2122 & \u00a9 ' + date.getFullYear() + ' Wizards of the Coast', x: 150/1500, y: 1976/2100, width: 1200/1500, height: 36/2100, font: 'mplantin', fontSize: 36/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
|
||||
{text: 'NOT FOR SALE CardConjurer.com', x: 150/1500, y: 2008/2100, width: 1200/1500, height: 30/2100, font: 'mplantin', fontSize: 30/2100, fontColor: '#eee', otherParameters: ['oneLine=true','shadow=' + scaleY(3/2100)]},
|
||||
], bottomInfoContext)
|
||||
}
|
Reference in New Issue
Block a user