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"]) }