战斗返回

This commit is contained in:
meixiongfeng 2023-01-07 15:02:39 +08:00
parent 2ecebd23fd
commit 6f820d168b

View File

@ -67,7 +67,9 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MlineChall
curChapter.Ps[req.StageId] = 0 // 清空预扣体力值
update["ps"] = curChapter.Ps
this.module.modelMline.modifyMlineData(session.GetUserId(), curChapter.Id, update)
code = pb.ErrorCode_BattleNoWin
//code = pb.ErrorCode_BattleNoWin
rsp.Data = curChapter
session.SendMsg(string(this.module.GetType()), MlineChallengeOverResp, rsp) // 数据推送
return
}
// 评星规则