From 21509f0ef53ab0ecfdb5b81066d1a577fd44e1e7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 09 一月 2026 21:07:25 +0800
Subject: [PATCH] 225 【付费内容】功能基金-服务端(增加基金类型7 - 主线关卡基金plus;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 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 485683e..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)
@@ -61,20 +69,20 @@
             attrInfo += "%s-%s" % (attrID, attrValue)
         GameWorld.DebugAnswer(curPlayer, "%s:%s" % (calcName, attrInfo))
         
-    posNumList = lineup.lineupHeroDict.keys()
+    posNumList = lineup.GetPosNumList()
     posNumList.sort()
     for posNum in posNumList:
         lineupHero = lineup.GetLineupHero(posNum)
-        GameWorld.DebugAnswer(curPlayer, "---位置:%s,武将(%s) 战力: %s" % (posNum, lineupHero.heroID, lineupHero.fightPower))
-        GameWorld.DebugAnswer(curPlayer, "技能:%s,战力:%s" % (lineupHero.heroSkillIDList, lineupHero.skillFightPower))
+        GameWorld.DebugAnswer(curPlayer, "●位置:%s,武将(%s) 战力: %s" % (posNum, lineupHero.heroID, lineupHero.fightPower))
+        GameWorld.DebugAnswer(curPlayer, "技能:%s,技能战力:%s" % (lineupHero.heroSkillIDList, lineupHero.skillFightPower))
         attrInfo = ""
         for attrID in ChConfig.AttrIDList:
             attrValue = lineupHero.heroBatAttrDict.get(attrID, 0)
             if not attrValue:
                 continue
             if attrInfo:
-                attrInfo += "; "
-            attrInfo += "%s-%s" % (attrID, attrValue)
+                attrInfo += ";"
+            attrInfo += "[%s-%s]" % (attrID, attrValue)
         GameWorld.DebugAnswer(curPlayer, "属性:%s" % attrInfo)
         
     return

--
Gitblit v1.8.0