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:
@@ -977,7 +977,7 @@ function inputCardNameNumberTextImport(index) {
|
||||
} else {
|
||||
importText("", "Power Toughness");
|
||||
}
|
||||
if (importCardTextResponse.includes('"loyalty":"')) {
|
||||
if (importCardTextResponse.includes('"loyalty":"') && version.currentVersion == "planeswalker") {
|
||||
importText(beforeAfter(importCardTextResponse, '"loyalty":"', '",'), "Loyalty");
|
||||
var abilityList = beforeAfter(importCardTextResponse, '"oracle_text":"', '",').replace(/ \\"/g, ' \u201C').replace(/\\"/g, '\u201D').split(/\\n/g);
|
||||
abilityList.push("", "", "", "");
|
||||
|
Reference in New Issue
Block a user