Commit 2a1054e5 authored by mercury233's avatar mercury233

update texts

......@@ -77,7 +77,7 @@ var loadDb = function(db_file) {
if (result.type & constants.TYPES.TYPE_COUNTER) {cardTypes.push("反击");}
if (result.type & constants.TYPES.TYPE_FLIP) {cardTypes.push("反转");}
if (result.type & constants.TYPES.TYPE_TOON) {cardTypes.push("卡通");}
if (result.type & constants.TYPES.TYPE_XYZ) {cardTypes.push("");}
if (result.type & constants.TYPES.TYPE_XYZ) {cardTypes.push("");}
if (result.type & constants.TYPES.TYPE_PENDULUM) {cardTypes.push("灵摆");}
cardText+="["+ cardTypes.join('|') +"]";
......@@ -131,9 +131,9 @@ var loadDb = function(db_file) {
cardLScale=parseInt(levelHex.slice(-8,-6), 16);
cardRScale=parseInt(levelHex.slice(-6,-4), 16);
}
cardText+="[" + (new Array(cardLevel + 1)).join("") + "]";
cardText+="[" + ((result.type & constants.TYPES.TYPE_XYZ) ? "" : "") + cardLevel + "]";
cardText+=" " + result.atk + "/" + result.def;
cardText+=" " + (result.atk < 0 ? "?" : result.atk) + "/" + (result.def < 0 ? "?" : result.def);
if (cardLScale) {
cardText+=" " + cardLScale + "/" +cardRScale;
......
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