From 8ab0e3412c93ed16f9ecbd3f8f6c587ae681cde4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 19 十二月 2025 11:38:53 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(修复满星生效卡被吞噬后无法生效新卡的bug;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
index 6706da3..e66e055 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
@@ -497,7 +497,7 @@
             
             getGridResult.append(gridNum)
             GameWorld.DebugLog("    本次产出: gridNum=%s, %s, doCount=%s" % (gridNum, getGridResult, doCount), playerID)
-            if gridNum in luckyGridNumList:
+            if gridNum in luckyGridNumList or updLuck >= maxLuck:
                 if addLuck:
                     if gridNum == setLuckyGridNum or updLuck >= maxLuck:
                         updLuck = 0

--
Gitblit v1.8.0