主线新增掉落奖励
This commit is contained in:
parent
bd862f3475
commit
456b361442
@ -187,6 +187,12 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MlineChall
|
||||
})
|
||||
}
|
||||
}
|
||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||
if lotteryward := this.module.ModuleTools.GetGroupDataByLottery(stageConf.Lotteryward, user.Vip, user.Lv); len(lotteryward) > 0 {
|
||||
if errdata = this.module.DispenseRes(session, lotteryward, true); errdata != nil {
|
||||
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||
}
|
||||
}
|
||||
|
||||
// 加英雄经验
|
||||
if stageConf.HeroExp > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user