diff --git a/worldsrv/welfmgr.go b/worldsrv/welfmgr.go index c14348e..772d847 100644 --- a/worldsrv/welfmgr.go +++ b/worldsrv/welfmgr.go @@ -113,6 +113,10 @@ func (this *WelfareMgr) GetReliefFund(p *Player, isVideo bool) { mq.Write(log) logger.Logger.Tracef("NewReliefFundLogEx WriteLog snid: %v Coin:%v", p.SnId, pack.Coin) } + if !p.IsRob { + mq.Write(model.GenerateSystemFreeGive(p.SnId, p.Name, p.Platform, p.Channel, + model.SystemFreeGive_GiveType_ReliefFund, model.SystemFreeGive_CoinType_Coin, coin)) + } } } logger.Logger.Tracef("GetReliefFund snid: %v pack: %v", p.SnId, pack) @@ -1114,7 +1118,7 @@ func (this *WelfareMgr) BlindBoxInfo(p *Player, bid int32) { if cyc == 1 || blindBox.Cycle == model.WelfareOpen { p.WelfData.BlindBoxId = 0 } - } // == 1代表当日循环 + } // == 1代表当日循环 if p.WelfData.BlindBoxId == 0 { // 未领取过发随机Date idx := bid