远征:更新下一关状态
This commit is contained in:
@@ -67,7 +67,7 @@ export async function getExpeditionStatus(roleId: string, roleName: string, isEn
|
||||
*/
|
||||
export async function findOrCreateEnemies(roleId: string, myCe: number, expeditionCode: string, expeditionId: number, battleStatus: number) {
|
||||
|
||||
let expeditionWarRecord = await ExpeditionWarRecordModel.getRecordByCodeAndId(expeditionCode, expeditionId);
|
||||
let expeditionWarRecord = await ExpeditionWarRecordModel.updateStatus(expeditionCode, expeditionId, battleStatus);
|
||||
if(!expeditionWarRecord) { // 如果没有信息
|
||||
let curDicExpedition = gameData.expedition.get(expeditionId);
|
||||
if(curDicExpedition) {
|
||||
|
||||
Reference in New Issue
Block a user