细节完善

This commit is contained in:
kron
2025-07-18 15:48:41 +08:00
parent c8dbc1eb5e
commit 115e0cefbb
5 changed files with 9 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ onLoad(async (options) => {
}
}
if (battleInfo.fireTime > 0) {
console.log(`当前箭剩余${remain}`);
const remain = Date.now() / 1000 - battleInfo.fireTime;
if (remain > 0 && remain <= 15) {
// 等渲染好再通知