状态还原

This commit is contained in:
meixiongfeng 2023-04-18 20:07:13 +08:00
parent c501d3c205
commit 7da8284b73

View File

@ -34,7 +34,7 @@ func (this *apiComp) NPCBattkleFinish(session comm.IUserSession, req *pb.Practic
}
if req.Report.WinSide == 1 {
room.Npcstate = 3
room.Npcstate = 2
if conf, err = this.module.configure.getDispatchBattleData(room.Currnpc); err != nil {
code = pb.ErrorCode_ConfigNoFound
return