随机任务ID调整
This commit is contained in:
parent
4cdf2d49d5
commit
6d700c0d3a
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user