ask urza
@@ -27,7 +27,7 @@ document.getElementById('footer').innerHTML = `
|
||||
<div>
|
||||
<a href='/'>Home</a><br>
|
||||
<a href='/creator'>Card Creator</a><br>
|
||||
<a href='/askscryfall'>Ask Scryfall</a><br>
|
||||
<a href='/askurza'>Ask Urza 2.0</a><br>
|
||||
<a href='/phyrexian'>Phyrexian Text</a><br>
|
||||
<a href='/life.html'>Life Counter</a><br>
|
||||
<a href='/about'>About Me</a>
|
||||
|
@@ -10,13 +10,13 @@ function loadAbilities() {
|
||||
}
|
||||
}
|
||||
}
|
||||
xhttp.open("GET", "/data/site/other/askScryfall/planeswalkerAbilities.txt", true);
|
||||
xhttp.open("GET", "/data/site/other/askUrza/planeswalkerAbilities.txt", true);
|
||||
xhttp.send();
|
||||
}
|
||||
|
||||
function randomAbility(index) {
|
||||
possibleAbilities = fullAbilityList[index]
|
||||
document.getElementById("askScryfallResult").innerHTML = possibleAbilities[Math.floor(Math.random() * (possibleAbilities.length - 1))].replace(/\\"/g, '"')
|
||||
document.getElementById("askUrzaResult").innerHTML = possibleAbilities[Math.floor(Math.random() * (possibleAbilities.length - 1))].replace(/\\"/g, '"')
|
||||
}
|
||||
|
||||
loadAbilities()
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 653 KiB After Width: | Height: | Size: 653 KiB |