This commit is contained in:
Kyle
2019-04-11 20:39:02 -07:00
parent ff35dbc688
commit 0536461df7
6 changed files with 16 additions and 16 deletions

View File

@@ -83,20 +83,20 @@ function planeswalkerAbilityLines() {
function planeswalkerAbilityIcons() { function planeswalkerAbilityIcons() {
switch (abilityLines.length) { switch (abilityLines.length) {
case 4: case 4:
abilityIconSpacing = 75 abilityIconSpacing = cheight(75)
abilityIconStartShift = 12 abilityIconStartShift = cheight(12)
break; break;
case 3: case 3:
abilityIconSpacing = 94 abilityIconSpacing = cheight(94)
abilityIconStartShift = 0 abilityIconStartShift = cheight(0)
break; break;
case 2: case 2:
abilityIconSpacing = 125 abilityIconSpacing = cheight(135)
abilityIconStartShift = -32 abilityIconStartShift = cheight(-35)
break; break;
case 1: case 1:
abilityIconSpacing = 0 abilityIconSpacing = cheight(0)
abilityIconStartShift = -100 abilityIconStartShift = cheight(-100)
break; break;
} }
specialBContext.clearRect(0, 0, cardWidth, cardHeight) specialBContext.clearRect(0, 0, cardWidth, cardHeight)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

View File

@@ -6,7 +6,7 @@
//============================================// //============================================//
// Anything I Like to Change Often :) // // Anything I Like to Change Often :) //
//============================================// //============================================//
randomizeSampleCards(4) randomizeSampleCards(5)
//============================================// //============================================//
// Setup Variables/Canvases // // Setup Variables/Canvases //
@@ -29,7 +29,7 @@ var defaultCardData = {
cardArtX:cwidth(58), cardArtY:cheight(118), cardArtX:cwidth(58), cardArtY:cheight(118),
miracle:true, nyx:true, legendary:true, creature:true, rulesBox:true, pinline:true, rareStamp:true, titleTypeBoxes:true, miracle:true, nyx:true, legendary:true, creature:true, rulesBox:true, pinline:true, rareStamp:true, titleTypeBoxes:true,
transparency:false, transparency:false,
specialImageA:false specialImageA:false, specialImageB:false
} }
var cardData = {} var cardData = {}
Object.assign(cardData, defaultCardData) Object.assign(cardData, defaultCardData)
@@ -969,10 +969,10 @@ loadScript("data/other/setCodeList.js")
setTimeout(function(){sectionTextFunction()}, 250) setTimeout(function(){sectionTextFunction()}, 250)
setTimeout(function(){sectionTextFunction()}, 500) setTimeout(function(){sectionTextFunction()}, 500)
//Only for working on frames n' stuff :) //Only for working on frames n' stuff :)
setTimeout(function(){ // setTimeout(function(){
document.getElementById("inputCardVersion").value = "planeswalker" // document.getElementById("inputCardVersion").value = "planeswalker"
document.getElementById("inputCardVersion").onchange() // document.getElementById("inputCardVersion").onchange()
}, 500) // }, 500)
//============================================// //============================================//
// RIP OLD CARD CONJURER // // RIP OLD CARD CONJURER //

View File

@@ -86,5 +86,5 @@ function randomSet() {
} }
document.getElementById("inputSetSymbolCode").value = set document.getElementById("inputSetSymbolCode").value = set
document.getElementById("inputSetSymbolRarity").value = rarity document.getElementById("inputSetSymbolRarity").value = rarity
imageURL("http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=" + set + "&size=large&rarity=" + rarity, imgSetSymbol, "needsBoth") imageURL("http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=" + set + "&size=large&rarity=" + rarity, imgSetSymbol, "needsCrop")
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@@ -92,7 +92,7 @@
<span class="dropdown"> <span class="dropdown">
<select onchange="backToDefault(this.value)" id="inputCardVersion"> <select onchange="backToDefault(this.value)" id="inputCardVersion">
<option value="m15">M15</option> <option value="m15">M15</option>
<option value="planeswalker">Planeswalker</option> <option value="planeswalker">Planeswalker (M15)</option>
<option value="fullArtLandM15">Full Art Land (M15)</option> <option value="fullArtLandM15">Full Art Land (M15)</option>
<option value="fullArtLandUnstable">Full Art Land (Unstable)</option> <option value="fullArtLandUnstable">Full Art Land (Unstable)</option>
</select> </select>