没有自动恢复血量时就不显示比例了
This commit is contained in:
parent
2d5a39d4e7
commit
0293adc703
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue