From 401fc90e708e7c65bfae4c7ef4889741ee35af3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Wed, 23 Dec 2020 21:55:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=89=8B=E6=8C=87=E7=9A=84?= =?UTF-8?q?=E5=B0=8F=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index f54c1f5b..7153f87c 100644 --- a/script.js +++ b/script.js @@ -2992,8 +2992,8 @@ function refreshTeamTotalHP(totalDom, team, teamIdx) { } else { tMoveDom.classList.remove("fixed-move-time"); - setTextContentAndAttribute(tMoveDom_general, moveTime.duration.default + moveTime.duration.leader + moveTime.duration.badge + moveTime.duration.awoken); - setTextContentAndAttribute(tMoveDom_noAwoken, moveTime.duration.default + moveTime.duration.leader + moveTime.duration.badge); + setTextContentAndAttribute(tMoveDom_general, Math.round((moveTime.duration.default + moveTime.duration.leader + moveTime.duration.badge + moveTime.duration.awoken) * 100) / 100); + setTextContentAndAttribute(tMoveDom_noAwoken, Math.round((moveTime.duration.default + moveTime.duration.leader + moveTime.duration.badge) * 100) / 100); } } }