From 33a1f8a94b2e85a637f4d2f2e7a0caad07503002 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 20 Feb 2024 10:46:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E5=B2=9B=E6=8A=BD=E5=8D=A1=E4=BF=9D?= =?UTF-8?q?=E5=BA=95=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hero/module.go b/modules/hero/module.go index 3c081dd6b..ac33216e8 100644 --- a/modules/hero/module.go +++ b/modules/hero/module.go @@ -886,7 +886,7 @@ func (this *Hero) GetRandomCardByCardPool(uid string, count int32) (cards []stri drawCount = heroRecord.Count[drawType] // 获取当前阵容抽卡次数 if true { // 普通卡池抽卡 // 校验是否达到保底卡池 - if drawConf.Protect >= drawCount { + if drawConf.Protect >= drawCount && drawConf.Protect != 0 { IsBaodiPool = true } ///// 获取消耗 end