随机任务ID调整

This commit is contained in:
meixiongfeng 2023-01-05 18:28:20 +08:00
parent 4cdf2d49d5
commit 6d700c0d3a
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha
for _, v := range reward {
if _conf, err := this.configure.GetItemConfigureData(v.T); err == nil {
if _conf.Usetype == 8 {
this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, v.N)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype154, v.N)
}
}
}
@ -123,7 +123,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha
for _, v := range cfgHunting.Firstprize {
if _conf, err := this.configure.GetItemConfigureData(v.T); err == nil {
if _conf.Usetype == 8 {
this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, v.N)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype154, v.N)
}
}
}

View File

@ -170,6 +170,6 @@ func (this *apiComp) BuyOrSell(session comm.IUserSession, req *pb.TrollBuyOrSell
this.module.record.AddTrollRecord(session.GetUserId(), gold, trolltrain.TarinPos)
}
this.module.ModuleRtask.SendToRtask(session, comm.Rtype151, 1)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, 1)
return
}