From 34af2110e2f45dd7a29d574d930acc5d5354b4eb Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Sun, 14 Jul 2024 17:22:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E8=AE=A1=E7=AD=BE=E5=88=B0=E7=BA=A2?= =?UTF-8?q?=E7=82=B9BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/welfmgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldsrv/welfmgr.go b/worldsrv/welfmgr.go index 9973c4a..1db3fe1 100644 --- a/worldsrv/welfmgr.go +++ b/worldsrv/welfmgr.go @@ -1031,7 +1031,7 @@ func (this *WelfareMgr) Welfareturnplate(p *Player, op int32) bool { // 0 红点 addUpDate = append(addUpDate, d.AddUpDay) } } - signIndex := p.WelfData.Sign7.SignIndex + signIndex = p.WelfData.Sign7.SignIndex % int32(len(turnplate.RateList)) for _, addupday := range addUpDate { if addupday <= signIndex { falg := false