From dd033e18101f61653015ab7f7d4853a0c4ec1306 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 19 三月 2026 10:35:15 +0800
Subject: [PATCH] 533 开服冲榜-客户端  开服庆典添加特权标识和返利,修复特权卡功能没开时能购买有权限限制的礼包bug,目前特权卡功能没开时会弹提示

---
 Main/System/TimeRush/TimeRushGiftCell.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Main/System/TimeRush/TimeRushGiftCell.cs b/Main/System/TimeRush/TimeRushGiftCell.cs
index 1a1691f..9fa7079 100644
--- a/Main/System/TimeRush/TimeRushGiftCell.cs
+++ b/Main/System/TimeRush/TimeRushGiftCell.cs
@@ -64,13 +64,18 @@
         buyButton.interactable = isCanBuy;
         buyButton.SetListener(() =>
         {
-            if (FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.PrivilegeCard) && config.VipLevel == 1 && !InvestModel.Instance.IsInvested(InvestModel.monthCardType))
+            if (config.VipLevel > 0 && !FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.PrivilegeCard))
+            {
+                SysNotifyMgr.Instance.ShowTip("MinggeAuto8");
+                return;
+            }
+            if (config.VipLevel == 1 && !InvestModel.Instance.IsInvested(InvestModel.monthCardType))
             {
                 SysNotifyMgr.Instance.ShowTip("MinggeAuto5");
                 UIManager.Instance.OpenWindow<PrivilegeCardWin>();
                 return;
             }
-            if (FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.PrivilegeCard) && config.VipLevel == 2 && !InvestModel.Instance.IsInvested(InvestModel.foreverCardType))
+            if (config.VipLevel == 2 && !InvestModel.Instance.IsInvested(InvestModel.foreverCardType))
             {
                 SysNotifyMgr.Instance.ShowTip("MinggeAuto7");
                 UIManager.Instance.OpenWindow<PrivilegeCardWin>();

--
Gitblit v1.8.0