diff --git a/index.html b/index.html index 51486ce2..360cab82 100644 --- a/index.html +++ b/index.html @@ -203,83 +203,8 @@
Use the following codes to get the respective symbol in the card's mana cost and rules text. In the mana cost, make sure to include spaces in between the codes, and in the rules text include '<' before each code and '>' after.
-
- w -
- u -
- b -
- r -
- g -
-
-
- pw -
- pu -
- pb -
- pr -
- pg -
-
-
- 2w -
- 2u -
- 2b -
- 2r -
- 2g -
-
-
- w -
- u -
- b -
- r -
- g -
-
-
- w -
- u -
- b -
- r -
- g -
-
-
- 0 -
- 1 -
- 2 -
- 3 -
- 4 -
-
-
- 5 -
- 6 -
- 7 -
- 8 -
- 9 -
-
-
- 10 -
- 11 -
- 12 -
- 13 -
- 14 -
-
-
- 15 -
- 16 -
- 17 -
- 18 -
- 19 -
-
-
- 20 -
- c -
- x -
- t -
- untap -
-
-
- snow -
- e -
-
-
-
-
+ +







When selecting the card's color, use 'Second Color' for hybrid cards, and 'Third Color' for non-hybrid two-colored cards.
@@ -399,6 +324,14 @@ select { padding: 0px 0px 0px 0px !important; margin: 0px; } +#symbolList { + margin: 5px; + padding: 5px; + border: 1px solid rgb(128, 255, 128); + background-color: rgba(0, 0, 0, 0.5); + white-space: normal; + display: inline-block; +} body { color: rgb(255,255,255); font-family: mplantin; @@ -488,14 +421,16 @@ for (i = 0; i < imgListStatic.length; i ++) { window[imgName].src = "data/borders/" + imgListStatic[i] + ".png" } //Mana symbol Array setup -var manaSymbolCode = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "w", "u", "b", "r", "g", "2w", "2u", "2b", "2r", "2g", "pw", "pu", "pb", "pr", "pg", "wu", "wb", "ub", "ur", "br", "bg", "rg", "rw", "gw", "gu", "x", "snow", "c", "t","untap", "e", "y", "z", "half", "infinity", "chaos"] +var manaSymbolCode = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "w", "u", "b", "r", "g", "2w", "2u", "2b", "2r", "2g", "pw", "pu", "pb", "pr", "pg", "wu", "wb", "ub", "ur", "br", "bg", "rg", "rw", "gw", "gu", "x", "snow", "c", "t","untap", "e", "y", "z", "half", "inf", "chaos"] var manaSymbolImages = new Array() for (var i = 0; i < manaSymbolCode.length; i++) { manaSymbolImages[i] = new Image() manaSymbolImages[i].src = "data/manaSymbols/" + i + ".png" - if (document.getElementById(manaSymbolCode[i]) != null) { - document.getElementById(manaSymbolCode[i]).src = "data/manaSymbols/" + i + ".png" - } + document.getElementById("symbolList").innerHTML += manaSymbolCode[i] + "\u2192" + var tempImage = document.createElement("img") + tempImage.src = manaSymbolImages[i].src + document.getElementById("symbolList").appendChild(tempImage) + document.getElementById("symbolList").innerHTML += ", " } //load first set symbol loadSetSymbol()