From 89cd5c46258340014d31e4b8c6ee7df0e3b00c2d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 16 三月 2026 19:51:54 +0800
Subject: [PATCH] 16 卡牌服务端(自动开服相关;A103增加同步开服时间;增加是否允许加入跨服标记,默认否;跨服公会仅在允许跨服时才会加入跨服;优化ServersConfig.json配置,支持后台导出,优化战斗服务器配置;)

---
 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