From 3afcfad8a40b4638ff069c63a83af90640fa6559 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 11 二月 2026 17:32:52 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(优化公会互通后某个游戏服在没有公会没有玩家加入跨服公会时下次维护无法成功显示加入跨服分区;优化分区配置检查,异常时不应用配置且发送qq邮件;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/NPCAttr.py |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/NPCAttr.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/NPCAttr.py
index e17b440..d5ca5dd 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/NPCAttr.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/NPCAttr.py
@@ -21,6 +21,7 @@
 import IpyGameDataPY
 import NPCCommon
 import ChConfig
+import FBLogic
 import os
 
 def OnExec(curPlayer, paramList):
@@ -52,12 +53,17 @@
     else:
         funcLineID = paramList[1] if len(paramList) > 1 else 0
         fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, funcLineID)
-        if not fbLineIpyData:
-            GameWorld.DebugAnswer(curPlayer, "不存在该副本关卡! %s-%s" % (mapID, funcLineID))
-            return
-        lineupIDList = fbLineIpyData.GetLineupIDList()
-        strongerLV = fbLineIpyData.GetNPCLV()
-        difficulty = fbLineIpyData.GetDifficulty()
+        if fbLineIpyData:
+            lineupIDList = fbLineIpyData.GetLineupIDList()
+            strongerLV = fbLineIpyData.GetNPCLV()
+            difficulty = fbLineIpyData.GetDifficulty()
+        else:
+            ret = FBLogic.GetFBNPCLineupInfo(curPlayer, mapID, funcLineID)
+            if not ret:
+                GameWorld.DebugAnswer(curPlayer, "不存在该副本关卡! %s-%s" % (mapID, funcLineID))
+                return
+            lineupIDList, strongerLV, difficulty = ret
+            
         GameWorld.DebugAnswer(curPlayer, "副本关卡: %s-%s" % (mapID, funcLineID))
         
     __printNPCLineupAttr(curPlayer, lineupIDList, strongerLV, difficulty)    

--
Gitblit v1.8.0