From 1d2bb45ba0bcb159b7250a7c2423633ecdeecc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Mon, 25 May 2020 15:08:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E8=83=BD=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=9A=84=E6=BD=9C=E8=A7=89=E4=B9=9F=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 9c0ce740..5d6e9d15 100644 --- a/script.js +++ b/script.js @@ -1277,7 +1277,7 @@ function initialize() monEditLatents.forEach(la=>la.onclick = deleteLatent); //可选觉醒的添加 function addLatent(){ - if (this.classList.contains("unselected-latent")) return; //不能选的觉醒直接退出 + if (this.classList.contains("unallowable-latent")) return; //不能选的觉醒直接退出 const lIdx = parseInt(this.getAttribute("data-latent-icon"),10); //潜觉的序号 const maxLatentCount = getMaxLatentCount(editBox.mid); //最大潜觉数量 const usedHoleN = usedHole(editBox.latent); //已经使用了的格子