竞技场 记录玩家等级
This commit is contained in:
parent
5ad4705391
commit
37a8884ec7
@ -85,6 +85,7 @@ func (this *apiComp) ChallengeReward(session comm.IUserSession, req *pb.ArenaCha
|
|||||||
Integral: info.Integral + info.Prededuction,
|
Integral: info.Integral + info.Prededuction,
|
||||||
Defend: info.Defend,
|
Defend: info.Defend,
|
||||||
Isai: false,
|
Isai: false,
|
||||||
|
Lv: info.Lv,
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(info.Record) > 10 {
|
if len(info.Record) > 10 {
|
||||||
@ -103,6 +104,7 @@ func (this *apiComp) ChallengeReward(session comm.IUserSession, req *pb.ArenaCha
|
|||||||
Integral: rival.Integral,
|
Integral: rival.Integral,
|
||||||
Defend: rival.Defend,
|
Defend: rival.Defend,
|
||||||
Isai: false,
|
Isai: false,
|
||||||
|
Lv: rival.Lv,
|
||||||
}
|
}
|
||||||
if len(rival.Record) > 10 {
|
if len(rival.Record) > 10 {
|
||||||
rival.Record = rival.Record[1:]
|
rival.Record = rival.Record[1:]
|
||||||
|
Loading…
Reference in New Issue
Block a user