From be0923c849dc5cf35a4610a7bb1be8a94b1bdf60 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Thu, 11 Jan 2024 20:57:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=BB=84=E8=8A=AA=E9=85=92=E9=A6=86?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E6=8E=92=E9=99=A40=E4=BC=A4?= =?UTF-8?q?=E5=AE=B3=E7=8E=A9=E5=AE=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/huangqijiuguan/fun.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api_s2c/event/huangqijiuguan/fun.ts b/src/api_s2c/event/huangqijiuguan/fun.ts index f4f9ded..d8c815a 100644 --- a/src/api_s2c/event/huangqijiuguan/fun.ts +++ b/src/api_s2c/event/huangqijiuguan/fun.ts @@ -127,7 +127,7 @@ export default class HQJGFun { */ static async getRankList(hdid: number) { let uids = await G.mongodb.collection("event").find( - { type: this.dataType(hdid) }, + { type: this.dataType(hdid), "bossres.maxdps": { $gt: 0 } }, { sort: { "bossres.maxdps": -1, "bossres.zhanli": -1 }, projection: { uid: 1, bossres: 1 } @@ -369,7 +369,7 @@ export default class HQJGFun { // 设置任务 if (isset == 1) { await G.mongodb.collection('event').updateOne({ uid: call.uid, type: this.dataType(hd.hdid) }, setData) - + if ((await this.getHongDian(call, hd, mydata)).show) { G.server.sendMsgByUid(call.uid, "msg_s2c/HongDianChange", ["huodonghd"]) }