diff --git a/script.js b/script.js index f17f9c6b..b84cd73d 100644 --- a/script.js +++ b/script.js @@ -37,7 +37,7 @@ Member.prototype.outObj = function(){ let obj = [m.id]; if (m.level != undefined) obj[1] = m.level; if (m.awoken != undefined) obj[2] = m.awoken; - if (m.plus != undefined && m.plus instanceof Array && m.plus.length>=3 && (m.plus[0]+m.plus[1]+m.plus[2])!==0) + if (m.plus != undefined && m.plus instanceof Array && m.plus.length>=3 && (m.plus[0]+m.plus[1]+m.plus[2])!=0) { if (m.plus[0] === m.plus[1] && m.plus[0] === m.plus[2]) { //当3个加值一样时只生成第一个减少长度 @@ -928,7 +928,7 @@ function initialize() const usedHoleN = usedHole(latent); for (let ai=0;ai=0 && card.superAwakenings.length) + if (mon.sawoken != undefined && mon.sawoken>=0 && card.superAwakenings.length) { const sawokenIcon = sawoken.querySelector(".awoken-icon"); sawoken.classList.remove("display-none");