没有自动恢复血量时就不显示比例了

This commit is contained in:
枫谷剑仙 2025-04-20 13:45:27 +08:00
parent 2d5a39d4e7
commit 0293adc703
1 changed files with 1 additions and 1 deletions

View File

@ -6781,7 +6781,7 @@ function refreshTeamAwokenEfeect(awokenEffectDom, team, ti, option) {
}
}
targetValue.setAttribute(dataAttrName, count.bigNumberToString());
if (option.teamHP) {
if (count > 0 && option.teamHP) {
targetValue.setAttribute("data-percent", (Math.floor(count / option.teamHP.tHP * 1000) / 10));
}
}