同步到测试服
This commit is contained in:
parent
3bbb9ac9a6
commit
bf9fbd150e
@ -73863,5 +73863,16 @@
|
|||||||
"atkpro": 1,
|
"atkpro": 1,
|
||||||
"defpro": 0.8,
|
"defpro": 0.8,
|
||||||
"modelsize": 1
|
"modelsize": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Id": 710003,
|
||||||
|
"pos": 5,
|
||||||
|
"captainId": 0,
|
||||||
|
"monster": 140071,
|
||||||
|
"lv": 10,
|
||||||
|
"hppro": 0.6,
|
||||||
|
"atkpro": 1,
|
||||||
|
"defpro": 0.8,
|
||||||
|
"modelsize": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -63,6 +63,10 @@ func (this *modelBattleComp) createeve(session comm.IUserSession, conn *db.DBCon
|
|||||||
if req.Format != nil {
|
if req.Format != nil {
|
||||||
model := db.NewDBModel(comm.TableHero, time.Hour, conn)
|
model := db.NewDBModel(comm.TableHero, time.Hour, conn)
|
||||||
record.Redflist = make([]*pb.DBBattleFormt, 1)
|
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 {
|
for i, v := range req.Format.Format {
|
||||||
if v != "" {
|
if v != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user