石阵秘境阵容站位问题修复

This commit is contained in:
meixiongfeng 2024-01-29 17:24:16 +08:00
parent 2901d94934
commit 31a6480c67
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,6 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
}
})
this.GetHeroTalentMaxLv("13001")
return
}
func (this *configureComp) GetApportHeroReplaceConfig() *Replace {

View File

@ -94,10 +94,11 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.StonehengeBattleR
} else {
return
}
for _, v := range req.Battle.Format {
for pos, v := range req.Battle.Format {
if v != "" {
if v1, ok := stone.Hero[v]; ok {
v1.BattleBeforeSkill = weBuff
v1.Pos = int32(pos)
szHero = append(szHero, v1)
} else {
errdata = &pb.ErrorData{