上传代码
This commit is contained in:
parent
448cbad2f7
commit
c7848437f7
@ -119,6 +119,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.VikingSweepReq) (e
|
||||
ps = 0
|
||||
reward = make([]*cfg.Gameatn, 0)
|
||||
consume = make([]*cfg.Gameatn, 0)
|
||||
consumeatns = make([]*pb.UserAssets, 0)
|
||||
if v.WinSide == 1 {
|
||||
bWin = true
|
||||
}
|
||||
@ -205,6 +206,7 @@ func (this *apiComp) Sweep(session comm.IUserSession, req *pb.VikingSweepReq) (e
|
||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype78, req.BossId, v.Costtime, req.Difficulty))
|
||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype76, 1, req.BossId))
|
||||
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype77, 1, req.BossId, req.Difficulty))
|
||||
|
||||
for _, v := range consume {
|
||||
consumeatns = append(consumeatns, &pb.UserAssets{
|
||||
A: v.A,
|
||||
|
Loading…
Reference in New Issue
Block a user