From 2fc92b025bb524999402af5739e7001c3c9ddc85 Mon Sep 17 00:00:00 2001 From: yangduo Date: Thu, 12 Dec 2024 14:22:53 +0800 Subject: [PATCH] fix --- server/wheelserver/api/v1/activity/activity.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/wheelserver/api/v1/activity/activity.go b/server/wheelserver/api/v1/activity/activity.go index 168a85f8..483072e6 100644 --- a/server/wheelserver/api/v1/activity/activity.go +++ b/server/wheelserver/api/v1/activity/activity.go @@ -104,6 +104,7 @@ func (this *ActivityApi) RollDice(c *gin.Context) { } fullgrid := false + scoreaward := true if len(*items) > 0 { gridawarded := false userAwardgrids := user.GetAwardGrids() @@ -125,8 +126,12 @@ func (this *ActivityApi) RollDice(c *gin.Context) { if len(awardgridids) <= len(userAwardgrids) { fullgrid = true } + + scoreaward = false } - } else { + } + + if scoreaward { if err, ok := service.Buff.HasBuffEffect(s.GetAccountId(), constant.BUFF_EFFECT_SCORE_CARD_X3); err == nil { if ok {