寻宝:boss 血量深拷贝

This commit is contained in:
liangtongchuan
2021-01-27 16:00:49 +08:00
parent 3c100b6ae8
commit 1011cd3ef9
3 changed files with 4 additions and 1 deletions
@@ -606,6 +606,7 @@ export class ComBattleHandler {
let res = await decreaseItems(teamStatus.capId, sid, [{id: teamStatus.blueprtId, count: 1}]);
if (res === true) return resResult(STATUS.COM_BATTLE_BLUEPRT_NOT_ENOUGH);
}
clearRobotHurtTimer(teamStatus, this.robotHurtTimer);
channel.pushMessage('onTeamComplete', resResult(STATUS.SUCCESS, {teamCode, result}));
this.teamMap.delete(teamCode);
}