从掉落表获得的数据也插入到获得道具中,并通知客户端
This commit is contained in:
parent
14c145bc4f
commit
aa1fff7273
@ -189,6 +189,13 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MlineChall
|
||||
if errdata = this.module.DispenseRes(session, lotteryward, true); errdata != nil {
|
||||
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||
}
|
||||
for _, v := range lotteryward {
|
||||
rsp.Reward = append(rsp.Reward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 加英雄经验
|
||||
|
Loading…
Reference in New Issue
Block a user