mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update main.js
This commit is contained in:
@@ -996,7 +996,7 @@ function loadSampleImages() {
|
|||||||
sampleImage.src = "data/site/images/samples/" + randomIndex + ".png";
|
sampleImage.src = "data/site/images/samples/" + randomIndex + ".png";
|
||||||
}
|
}
|
||||||
//Donate card stuff!
|
//Donate card stuff!
|
||||||
var cardWishlist = [["Riku of Two Reflections", "https://img.scryfall.com/cards/large/front/7/1/716d0b3b-bac9-4fb8-882e-bd6171864043.jpg?1562916032"], ["Klothys, God of Destiny", "https://img.scryfall.com/cards/large/front/4/d/4d747889-04db-4e7a-ad4c-7549514b5112.jpg?1577968427"], ["Ramunap Excavator", "https://img.scryfall.com/cards/large/front/9/0/90a54d18-8403-441d-a115-ee462fabdabb.jpg?1562806928"], ["Birds of Paradise", "https://img.scryfall.com/cards/large/front/f/e/feefe9f0-24a6-461c-9ef1-86c5a6f33b83.jpg?1576382980"], ["Xantcha, Sleeper Agent", "https://img.scryfall.com/cards/large/front/8/9/89b03b9a-7e20-47cb-bc64-23513acea855.jpg?1566340797"]];
|
var cardWishlist = [["Riku of Two Reflections", "https://img.scryfall.com/cards/large/front/7/1/716d0b3b-bac9-4fb8-882e-bd6171864043.jpg?1562916032"], ["Klothys, God of Destiny", "https://img.scryfall.com/cards/large/front/4/d/4d747889-04db-4e7a-ad4c-7549514b5112.jpg?1577968427"], ["Ramunap Excavator", "https://img.scryfall.com/cards/large/front/9/0/90a54d18-8403-441d-a115-ee462fabdabb.jpg?1562806928"], ["Birds of Paradise", "https://img.scryfall.com/cards/large/front/f/e/feefe9f0-24a6-461c-9ef1-86c5a6f33b83.jpg?1576382980"], ["Xantcha, Sleeper Agent", "https://img.scryfall.com/cards/large/front/8/9/89b03b9a-7e20-47cb-bc64-23513acea855.jpg?1566340797"],["Adobe Photoshop... Wait, that's not a card! Regardless, I would love to see what frames I could add if I had photoshop","https://i0.wp.com/www.keysbundle.com/wp-content/uploads/2019/09/768px-Adobe_Photoshop_CC_icon.svg.png?fit=768%2C749&ssl=1"]];
|
||||||
var randomWishlistCard = cardWishlist[Math.floor(Math.random() * cardWishlist.length)];
|
var randomWishlistCard = cardWishlist[Math.floor(Math.random() * cardWishlist.length)];
|
||||||
document.getElementById("wishlistCardName").innerHTML = randomWishlistCard[0];
|
document.getElementById("wishlistCardName").innerHTML = randomWishlistCard[0];
|
||||||
var wishlistCardImage = new Image();
|
var wishlistCardImage = new Image();
|
||||||
|
Reference in New Issue
Block a user