Commit 43fb4fd9 authored by mercury233's avatar mercury233

fix

parent ad32a4cf
...@@ -143,7 +143,7 @@ var loadDb = function(db_file) { ...@@ -143,7 +143,7 @@ var loadDb = function(db_file) {
cardRScale=parseInt(levelHex.slice(-6,-4), 16); cardRScale=parseInt(levelHex.slice(-6,-4), 16);
} }
if (!result.type & constants.TYPES.TYPE_LINK) { if (!(result.type & constants.TYPES.TYPE_LINK)) {
cardText+="[" + ((result.type & constants.TYPES.TYPE_XYZ) ? "" : "") + cardLevel + "]"; cardText+="[" + ((result.type & constants.TYPES.TYPE_XYZ) ? "" : "") + cardLevel + "]";
cardText+=" " + (result.atk < 0 ? "?" : result.atk) + "/" + (result.def < 0 ? "?" : result.def); cardText+=" " + (result.atk < 0 ? "?" : result.atk) + "/" + (result.def < 0 ? "?" : result.def);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment