Browse Source

修复不能选择的潜觉也可以设置的问题

tags/v8.0
枫谷剑仙 6 years ago
parent
commit
1d2bb45ba0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      script.js

+ 1
- 1
script.js View File

@@ -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); //已经使用了的格子


Loading…
Cancel
Save