From 6923ed95f175f9f204cfa766d651bff2f85b8336 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 6 Dec 2024 09:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=B5=A0=E9=80=81=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=A0=B4=E4=BA=A7=E8=A1=A5=E5=8A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/welfmgr.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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