diff --git a/worldsrv/welfmgr.go b/worldsrv/welfmgr.go index 95cd2fa..3d9432a 100644 --- a/worldsrv/welfmgr.go +++ b/worldsrv/welfmgr.go @@ -2485,6 +2485,8 @@ func (this *WelfareMgr) GetRedPacket(p *Player, id int64) *welfare.SCRedPacketDr ItemNum: reward, }, mq.DBRedPacket) + TaskSubjectSingleton.Touch(common.TaskTypeBuyRedBag, &TaskData{SnId: p.SnId, Num: 1}) + _, pack.RemainCount = RedPacketMgrInst.GetRemainTimesByConfig(p, cfg) Send(welfare.OpResultCode_OPRC_Sucess) return pack