碎片转换

This commit is contained in:
meixiongfeng 2023-03-08 12:25:54 +08:00
parent c2e1a230fe
commit cb6410730c

View File

@ -926,7 +926,7 @@ func (this *ModelHero) createHero(session comm.IUserSession, heroCfgId string, c
}) })
for i := 0; i < int(count); i++ { for i := 0; i < int(count); i++ {
res = append(res, heroCfg.Expitem...) res = append(res, heroCfg.Expitem...)
for _, v := range heroCfg.Herofrag { for _, v := range heroCfg.Expitem {
atno = append(atno, &pb.UserAtno{ atno = append(atno, &pb.UserAtno{
A: v.A, A: v.A,
T: v.T, T: v.T,