数数:消耗来源
This commit is contained in:
@@ -17,7 +17,7 @@ import { checkDungeonNum, checkDungeonAndIncrease, saveDungeonFirst } from '../.
|
||||
// import { switchOnFunc } from '../../../services/funcSwitchService';
|
||||
import { gameData } from '../../../pubUtils/data';
|
||||
import { pushMysteryFirstMsg, pushTowerMsg, pushVestigeFirstMsg } from '../../../services/chatService';
|
||||
import { nowSeconds } from '../../../pubUtils/timeUtil';
|
||||
import { getSeconds, nowSeconds } from '../../../pubUtils/timeUtil';
|
||||
import { Rank } from '../../../services/rankService';
|
||||
import { checkTaskWithWar, checkTaskInBattleEnd, checkActivityTask } from '../../../services/taskService';
|
||||
import { ActivitySelfServiceModel } from '../../../db/ActivitySelfService';
|
||||
@@ -147,7 +147,7 @@ export class NormalBattleHandler {
|
||||
}
|
||||
|
||||
let flag = 1; // 对比hero信息
|
||||
let { record: { heroes: dbHeroes, seqIds: dbSeqIds } } = BattleRecord;
|
||||
let { record: { heroes: dbHeroes, seqIds: dbSeqIds }, createdAt } = BattleRecord;
|
||||
for (let seqId of dbSeqIds) {
|
||||
if (dbSeqIds.indexOf(seqId) == -1) flag = 0;
|
||||
}
|
||||
@@ -269,6 +269,7 @@ export class NormalBattleHandler {
|
||||
battleCode, battleId, status,
|
||||
battleGoods: reward,
|
||||
towerStatus, dailyNum, dungeonNum,
|
||||
createdAt: getSeconds(createdAt),
|
||||
...actordata
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user