forked from GithubMirrors/cardconjurer
		
	fixes
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 264 KiB | 
							
								
								
									
										12
									
								
								data/main.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								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           // | ||||
|   | ||||
| @@ -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") | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle