图鉴检测
This commit is contained in:
parent
b023c7dd3c
commit
ad279e82b6
@ -84,14 +84,13 @@ func (this *Hero) createRepeatHero(session comm.IUserSession, heroCfgId string,
|
|||||||
)
|
)
|
||||||
hero, bFirst, atno, err = this.modelHero.createHero(session, heroCfgId, num)
|
hero, bFirst, atno, err = this.modelHero.createHero(session, heroCfgId, num)
|
||||||
if err == nil && bFirst {
|
if err == nil && bFirst {
|
||||||
go func() { // 携程处理 图鉴数据
|
//go func() { // 携程处理 图鉴数据
|
||||||
if db.IsCross() {
|
if db.IsCross() {
|
||||||
this.moduleFetter.SendRpcAddHero(session.GetUserId(), heroCfgId, session.GetServiecTag())
|
this.moduleFetter.SendRpcAddHero(session.GetUserId(), heroCfgId, session.GetServiecTag())
|
||||||
} else {
|
} else {
|
||||||
this.moduleFetter.AddHeroFetterData(session.GetUserId(), heroCfgId)
|
this.moduleFetter.AddHeroFetterData(session.GetUserId(), heroCfgId)
|
||||||
}
|
}
|
||||||
}()
|
//}()
|
||||||
// 统计任务
|
|
||||||
|
|
||||||
// 查品质
|
// 查品质
|
||||||
cfg, _ := this.configure.GetHeroConfig(heroCfgId)
|
cfg, _ := this.configure.GetHeroConfig(heroCfgId)
|
||||||
|
@ -310,9 +310,9 @@ func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEq
|
|||||||
// 更新图鉴信息
|
// 更新图鉴信息
|
||||||
for _, v := range rsp.Equip {
|
for _, v := range rsp.Equip {
|
||||||
if equipConf := this.module.configure.GetEquipmentConfigureById(v.CId); equipConf != nil { // 获取装备等级
|
if equipConf := this.module.configure.GetEquipmentConfigureById(v.CId); equipConf != nil { // 获取装备等级
|
||||||
go func(cid string, star int32, AdverbEntry int32) {
|
//go func(cid string, star int32, AdverbEntry int32) {
|
||||||
this.module.modelAtlas.CheckActivateAtlas(session.GetUserId(), cid, star, AdverbEntry, stove.Forge[req.ReelId])
|
this.module.modelAtlas.CheckActivateAtlas(session.GetUserId(), v.CId, equipConf.InitLv, int32(len(v.AdverbEntry)), stove.Forge[req.ReelId])
|
||||||
}(v.CId, equipConf.InitLv, int32(len(v.AdverbEntry))) // 品质按副词条数+1 来算
|
//}(v.CId, equipConf.InitLv, int32(len(v.AdverbEntry))) // 品质按副词条数+1 来算
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var equip map[int32]int32 // key xingji value 数量
|
var equip map[int32]int32 // key xingji value 数量
|
||||||
|
Loading…
Reference in New Issue
Block a user