add 红包雨任务
This commit is contained in:
parent
894c28fa0e
commit
4e55ce186d
|
@ -2485,6 +2485,8 @@ func (this *WelfareMgr) GetRedPacket(p *Player, id int64) *welfare.SCRedPacketDr
|
||||||
ItemNum: reward,
|
ItemNum: reward,
|
||||||
}, mq.DBRedPacket)
|
}, mq.DBRedPacket)
|
||||||
|
|
||||||
|
TaskSubjectSingleton.Touch(common.TaskTypeBuyRedBag, &TaskData{SnId: p.SnId, Num: 1})
|
||||||
|
|
||||||
_, pack.RemainCount = RedPacketMgrInst.GetRemainTimesByConfig(p, cfg)
|
_, pack.RemainCount = RedPacketMgrInst.GetRemainTimesByConfig(p, cfg)
|
||||||
Send(welfare.OpResultCode_OPRC_Sucess)
|
Send(welfare.OpResultCode_OPRC_Sucess)
|
||||||
return pack
|
return pack
|
||||||
|
|
Loading…
Reference in New Issue