解决潜觉大属性盾计算错误

This commit is contained in:
枫谷剑仙 2025-05-23 23:52:35 +08:00
parent c916bc43b2
commit e5b1efd75a
2 changed files with 11 additions and 3 deletions

View File

@ -6881,8 +6881,8 @@ function refreshTeamAwokenEfeect(awokenEffectDom, team, ti, option) {
const thisAwokenNum = awokenCountInTeam(team, ak, solo, teamsCount);
const prob = thisAwokenNum * 0.07 //普通觉醒7%
+ teamLatents.filter(l=>l===2+ak).length * 0.01 //小潜觉 1%
+ teamLatents.filter(l=>l===28+ak).length * 0.03; //大潜觉 3%
awoken.setAttribute(dataAttrName,Math.round(Math.min(prob,1)*100));
+ teamLatents.filter(l=>l===28+ak).length * 0.025; //大潜觉 2.5%
awoken.setAttribute(dataAttrName,Math.round(Math.min(prob,1)*1000)/10);
}
}

View File

@ -50235,7 +50235,7 @@ const cachesMap = new Map([
],
[
"script.js",
"663ba5cc491de11c5a14b34a55c43eba"
"2d95ac4cb28e69456a5c8581adaa452d"
],
[
"solo.html",
@ -50481,10 +50481,18 @@ const cachesMap = new Map([
"library/core-js.min.js",
"8b28275b4bc0267c494cd46a15a7734f"
],
[
"library/html-to-image.js",
"8c69fd08591f0c8b77996c381f40e5d3"
],
[
"library/html2canvas.min.js",
"a692cfc262fd4a43738caf3edf2c7a3d"
],
[
"library/modern-screenshot.js",
"b3af08b760252ed46bd2be973f010533"
],
[
"library/zxing.umd.min.js",
"bc4aee4e60193999c1917a1e14715007"