diff --git a/data/borders/planeswalker/border.js b/data/borders/planeswalker/border.js index be0ba560..1ea0c590 100644 --- a/data/borders/planeswalker/border.js +++ b/data/borders/planeswalker/border.js @@ -83,20 +83,20 @@ function planeswalkerAbilityLines() { function planeswalkerAbilityIcons() { switch (abilityLines.length) { case 4: - abilityIconSpacing = 75 - abilityIconStartShift = 12 + abilityIconSpacing = cheight(75) + abilityIconStartShift = cheight(12) break; case 3: - abilityIconSpacing = 94 - abilityIconStartShift = 0 + abilityIconSpacing = cheight(94) + abilityIconStartShift = cheight(0) break; case 2: - abilityIconSpacing = 125 - abilityIconStartShift = -32 + abilityIconSpacing = cheight(135) + abilityIconStartShift = cheight(-35) break; case 1: - abilityIconSpacing = 0 - abilityIconStartShift = -100 + abilityIconSpacing = cheight(0) + abilityIconStartShift = cheight(-100) break; } specialBContext.clearRect(0, 0, cardWidth, cardHeight) diff --git a/data/borders/planeswalker/white/ref.png b/data/borders/planeswalker/white/ref.png deleted file mode 100644 index 91a19b6b..00000000 Binary files a/data/borders/planeswalker/white/ref.png and /dev/null differ diff --git a/data/main.js b/data/main.js index 43c009d5..4102d86c 100644 --- a/data/main.js +++ b/data/main.js @@ -6,7 +6,7 @@ //============================================// // Anything I Like to Change Often :) // //============================================// -randomizeSampleCards(4) +randomizeSampleCards(5) //============================================// // Setup Variables/Canvases // @@ -29,7 +29,7 @@ var defaultCardData = { cardArtX:cwidth(58), cardArtY:cheight(118), miracle:true, nyx:true, legendary:true, creature:true, rulesBox:true, pinline:true, rareStamp:true, titleTypeBoxes:true, transparency:false, - specialImageA:false + specialImageA:false, specialImageB:false } var cardData = {} Object.assign(cardData, defaultCardData) @@ -969,10 +969,10 @@ loadScript("data/other/setCodeList.js") setTimeout(function(){sectionTextFunction()}, 250) setTimeout(function(){sectionTextFunction()}, 500) //Only for working on frames n' stuff :) -setTimeout(function(){ - document.getElementById("inputCardVersion").value = "planeswalker" - document.getElementById("inputCardVersion").onchange() -}, 500) +// setTimeout(function(){ +// document.getElementById("inputCardVersion").value = "planeswalker" +// document.getElementById("inputCardVersion").onchange() +// }, 500) //============================================// // RIP OLD CARD CONJURER // diff --git a/data/other/setCodeList.js b/data/other/setCodeList.js index 7a22d5b6..3e24f4bb 100644 --- a/data/other/setCodeList.js +++ b/data/other/setCodeList.js @@ -86,5 +86,5 @@ function randomSet() { } document.getElementById("inputSetSymbolCode").value = set 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") } \ No newline at end of file diff --git a/images/sampleCards/sample5.png b/images/sampleCards/sample5.png new file mode 100644 index 00000000..08e31ce2 Binary files /dev/null and b/images/sampleCards/sample5.png differ diff --git a/index.html b/index.html index c2005c11..29ac42f3 100644 --- a/index.html +++ b/index.html @@ -92,7 +92,7 @@