上传配置
This commit is contained in:
parent
cc24f33eac
commit
bc56a6c3ea
@ -57,7 +57,7 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
awardid = (chapterconf.Starreward)
|
awardid = chapterconf.Starreward
|
||||||
} else if req.Rtype == 1 {
|
} else if req.Rtype == 1 {
|
||||||
if award, ok = info.Exploreaward[req.Chapter]; !ok || award.Stage < req.Stage {
|
if award, ok = info.Exploreaward[req.Chapter]; !ok || award.Stage < req.Stage {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
|
@ -42,6 +42,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
|
|||||||
gameburiedCond: cfg.NewGameBuriedCondi,
|
gameburiedCond: cfg.NewGameBuriedCondi,
|
||||||
gamerdtasknpc: cfg.NewGameRdtaskNpc,
|
gamerdtasknpc: cfg.NewGameRdtaskNpc,
|
||||||
gamesearchitemall: cfg.NewGameSearchitemAll,
|
gamesearchitemall: cfg.NewGameSearchitemAll,
|
||||||
|
gamesearchitembox: cfg.NewGameSearchitemBox,
|
||||||
})
|
})
|
||||||
this.condlTask = make(map[int32][]*cfg.GameWorldTaskData)
|
this.condlTask = make(map[int32][]*cfg.GameWorldTaskData)
|
||||||
configure.RegisterConfigure(gameWorldTask, cfg.NewGameBuriedCondi, this.updateconfigure)
|
configure.RegisterConfigure(gameWorldTask, cfg.NewGameBuriedCondi, this.updateconfigure)
|
||||||
|
Loading…
Reference in New Issue
Block a user