From 5bcd27e5d71974385fa0c3fd3a5fa1123acbdc38 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 17 十二月 2025 19:00:25 +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