feat:黄芪酒馆排行榜排除0伤害玩家

This commit is contained in:
xichaoyin 2024-01-11 20:57:48 +08:00
parent a600998fd3
commit be0923c849

View File

@ -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 }