石阵秘境阵容站位问题修复
This commit is contained in:
parent
2901d94934
commit
31a6480c67
@ -229,7 +229,6 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.GetHeroTalentMaxLv("13001")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
func (this *configureComp) GetApportHeroReplaceConfig() *Replace {
|
func (this *configureComp) GetApportHeroReplaceConfig() *Replace {
|
||||||
|
@ -94,10 +94,11 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.StonehengeBattleR
|
|||||||
} else {
|
} else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, v := range req.Battle.Format {
|
for pos, v := range req.Battle.Format {
|
||||||
if v != "" {
|
if v != "" {
|
||||||
if v1, ok := stone.Hero[v]; ok {
|
if v1, ok := stone.Hero[v]; ok {
|
||||||
v1.BattleBeforeSkill = weBuff
|
v1.BattleBeforeSkill = weBuff
|
||||||
|
v1.Pos = int32(pos)
|
||||||
szHero = append(szHero, v1)
|
szHero = append(szHero, v1)
|
||||||
} else {
|
} else {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
|
Loading…
Reference in New Issue
Block a user