状态还原
This commit is contained in:
parent
c501d3c205
commit
7da8284b73
@ -34,7 +34,7 @@ func (this *apiComp) NPCBattkleFinish(session comm.IUserSession, req *pb.Practic
|
|||||||
}
|
}
|
||||||
|
|
||||||
if req.Report.WinSide == 1 {
|
if req.Report.WinSide == 1 {
|
||||||
room.Npcstate = 3
|
room.Npcstate = 2
|
||||||
if conf, err = this.module.configure.getDispatchBattleData(room.Currnpc); err != nil {
|
if conf, err = this.module.configure.getDispatchBattleData(room.Currnpc); err != nil {
|
||||||
code = pb.ErrorCode_ConfigNoFound
|
code = pb.ErrorCode_ConfigNoFound
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user