聊天:推送部分军团消息
This commit is contained in:
@@ -17,6 +17,7 @@ import { ARMY } from '../../../pubUtils/dicParam';
|
||||
import { addActive } from '../../../services/guildService';
|
||||
import { GuildTrainReportModel } from '../../../db/GuildTrainReport';
|
||||
import { DATA_NAME } from '../../../consts/dataName';
|
||||
import { pushGuildTrainSucMsg } from '../../../services/chatService';
|
||||
|
||||
export default function (app: Application) {
|
||||
return new GuildTrainHandler(app);
|
||||
@@ -238,6 +239,7 @@ export class GuildTrainHandler {
|
||||
//type 1:失败, 2:成功,3:表示系统战报即:被成功压制
|
||||
reports.push({ type: 3, time:nowSeconds(), score: addScore, roleName, trainId, hid, difficulty: battleRecord.record.difficulty });
|
||||
guildTrain = await unlockTrain(code, trainId + 1);
|
||||
pushGuildTrainSucMsg(roleId, roleName, code, hid);
|
||||
}
|
||||
res.releaseCallback();//解锁
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user