演武台:boss血量修改

This commit is contained in:
luying
2022-03-01 10:10:11 +08:00
parent 153633b9f1
commit de0b74e0cd
10 changed files with 96 additions and 34 deletions
+1 -1
View File
@@ -699,7 +699,7 @@ export default class Role extends BaseModel {
public static async getActivePlayers(serverId: number) {
let yesterday = <Date>getTimeFunD().getBeforeDayWithHour(1);
const roles: RoleType[] = await RoleModel.find({ serverId, updatedAt: { $gte: yesterday } })
.select('topLineup topLineupCe')
.select('roleId ce topLineup topLineupCe guildCode hasGuild')
.sort({ ce: -1 }).lean();
return roles
}