上传代码
This commit is contained in:
parent
1f4ac80e88
commit
6bc5e60b7f
@ -63,7 +63,7 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.WTaskBattle
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if conf.Reward > 0 {
|
||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||
if prop = this.module.ModuleTools.GetGroupDataByLottery(conf.Reward, user.Vip, user.Lv); len(prop) == 0 {
|
||||
errdata = &pb.ErrorData{
|
||||
@ -73,6 +73,7 @@ func (this *apiComp) BattleFinish(session comm.IUserSession, req *pb.WTaskBattle
|
||||
}
|
||||
return
|
||||
}
|
||||
}
|
||||
prop = append(prop, conf.Playexp)
|
||||
award = make([]*pb.UserAssets, 0)
|
||||
for _, v := range prop {
|
||||
|
Loading…
Reference in New Issue
Block a user