From 09c67573ee3759802de4d40ea70813d2ce71be0c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 13 一月 2026 10:27:16 +0800
Subject: [PATCH] 423 【内政】命格系统-服务端(初版不含属性;)
---
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