From 163509fa5e974121d15d39d31ff6d4e4718c01d8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-45ANQ2C\\unis" <121212121@qq.com> Date: Tue, 31 Dec 2024 17:14:56 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E9=92=BB=E7=9F=B3=E5=AD=98=E9=92=B1?= =?UTF-8?q?=E7=BD=90=E7=9A=84=E9=A2=9D=E5=A4=96=E5=A5=96=E5=8A=B1=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BA=E9=87=91=E5=B8=81=E7=9A=84=E9=A2=9D=E5=A4=96?= =?UTF-8?q?=E5=A5=96=E5=8A=B1"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f7f5fe263cf29703a8488bc7a71459166f95fbe1. --- worldsrv/welfmgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldsrv/welfmgr.go b/worldsrv/welfmgr.go index accf2b3..352855b 100644 --- a/worldsrv/welfmgr.go +++ b/worldsrv/welfmgr.go @@ -1118,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 @@ -1988,7 +1988,7 @@ func (this *WelfareMgr) DiamondBankGetInfo(p *Player) { bankInfo.Price = int64(data.DiamondPrice) bankInfo.NowPrice = int64(data.DiamondNowPrice) bankInfo.ShopId = data.DiamondId - for _, v := range data.DiamondExc { + for _, v := range data.GoldExc { bankInfo.DiamondExc[int64(v.ItemId)] = v.ItemNum }