Add files via upload

This commit is contained in:
Kyle
2018-08-25 20:06:54 -07:00
committed by GitHub
parent e22f35a4e2
commit 4baed2c7d8

View File

@@ -716,7 +716,7 @@ function rulesText(text, x, y) {
if (extraSpace == true) {
xShift += 2
}
card.drawImage(manaSymbolImages[manaSymbolCode.indexOf(words[n].substring(words[n].indexOf("<") + 1, words[n].indexOf(">")))], x + xShift + textSize * 0.054, y + textSize * 0.22 - 1, textSize * 0.77, textSize * 0.77)
card.drawImage(manaSymbolImages[manaSymbolCode.indexOf(words[n].substring(words[n].indexOf("<") + 1, words[n].indexOf(">")))], x + xShift + textSize * 0.054, y + textSize * 0.11, textSize * 0.77, textSize * 0.77)
xShift += textSize * 0.84
words[n] = words[n].slice(words[n].indexOf(">") + 1, words[n].length)
extraSpace = true