设置时间
This commit is contained in:
@@ -43,7 +43,7 @@ export async function init() {
|
||||
}
|
||||
let settleTime = (seasonEndTime - SETTLE_DIFF)* PER_SECOND;
|
||||
seasonJobId = scheduleJob(settleTime, setPvpSeasonResult);
|
||||
warJobId = scheduleJob("0 0 0 * * 1", resetPvpWarId);
|
||||
warJobId = scheduleJob("0 0 0 * * 3", resetPvpWarId);
|
||||
}
|
||||
|
||||
export async function setPvpSeasonResult(obj:{ name:string, notSetNext?: boolean }) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import path = require('path');
|
||||
import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool';
|
||||
import { HERO_CE_RATIO, ABI_STAGE } from '../consts';
|
||||
|
||||
import { uniq, findWhere, findIndex } from 'underscore';
|
||||
import { findIndex } from 'underscore';
|
||||
|
||||
const moment = require('moment');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user