同步到测试服

This commit is contained in:
liwei1dao 2022-11-16 18:11:43 +08:00
parent 3bbb9ac9a6
commit bf9fbd150e
2 changed files with 17 additions and 2 deletions

View File

@ -73863,5 +73863,16 @@
"atkpro": 1,
"defpro": 0.8,
"modelsize": 1
},
{
"Id": 710003,
"pos": 5,
"captainId": 0,
"monster": 140071,
"lv": 10,
"hppro": 0.6,
"atkpro": 1,
"defpro": 0.8,
"modelsize": 1
}
]

View File

@ -63,6 +63,10 @@ func (this *modelBattleComp) createeve(session comm.IUserSession, conn *db.DBCon
if req.Format != nil {
model := db.NewDBModel(comm.TableHero, time.Hour, conn)
record.Redflist = make([]*pb.DBBattleFormt, 1)
record.Redflist[0] = &pb.DBBattleFormt{
Leadpos: req.Format.Leadpos,
Team: make([]*pb.BattleRole, len(req.Format.Format)),
}
//自己的英雄阵营
for i, v := range req.Format.Format {
if v != "" {