From 30934085569813c1f2bb15c04715f4d35d01287b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 08 一月 2026 10:17:10 +0800
Subject: [PATCH] 16 卡牌服务端(删除写死的旧项目无效物品ID;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py
index 83ec071..7c97088 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py
@@ -32,21 +32,29 @@
     olPlayer = PlayerOnline.GetOnlinePlayer(curPlayer)
     
     if not msgList:
-        GameWorld.DebugAnswer(curPlayer, "PrintFightPower [阵容ID]")
+        GameWorld.DebugAnswer(curPlayer, "PrintFightPower [阵容ID 专享属性地图ID]")
         GameWorld.DebugAnswer(curPlayer, "主公战力: %s" % PlayerControl.GetFightPower(curPlayer))
         for lineupID in ShareDefine.LineupList:
             lineup = olPlayer.GetLineup(lineupID)
             GameWorld.DebugAnswer(curPlayer, "阵容(%s)总战力: %s" % (lineupID, lineup.fightPower))
+            if lineupID == ShareDefine.Lineup_Main:
+                for exclusiveMapID in ChConfig.ExclusiveBatAttrMapIDList:
+                    exclusiveLineup = olPlayer.GetLineup(lineupID, exclusiveMapID=exclusiveMapID)
+                    GameWorld.DebugAnswer(curPlayer, "阵容(%s-%s)总战力: %s" % (lineupID, exclusiveLineup.exclusiveMapID, exclusiveLineup.fightPower))
         return
     
     lineupID = msgList[0]
+    exclusiveMapID = msgList[1] if len(msgList) > 1 else 0
     if lineupID not in ShareDefine.LineupList:
         GameWorld.DebugAnswer(curPlayer, "阵容(%s)不存在.")
         return
-    
+    if exclusiveMapID not in ChConfig.ExclusiveBatAttrMapIDList:
+        exclusiveMapID
     GameWorld.DebugAnswer(curPlayer, "-------------------")
-    lineup = olPlayer.GetLineup(lineupID)    
+    lineup = olPlayer.GetLineup(lineupID, exclusiveMapID=exclusiveMapID)    
     GameWorld.DebugAnswer(curPlayer, "【阵容 - %s】明细总战力: %s" % (lineupID, lineup.fightPower))
+    if exclusiveMapID:
+        GameWorld.DebugAnswer(curPlayer, "功能地图专属阵容地图ID:%s" % exclusiveMapID)
     
     for calcIndex in ChConfig.Def_CalcAttrList:
         calcName = ChConfig.CalcAttrName.get(calcIndex, "%s" % calcIndex)

--
Gitblit v1.8.0