From 4e3d1ff7e0b98fc18b0b6e63e449f3d7577c0ba6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 05 十一月 2025 11:16:31 +0800
Subject: [PATCH] 16 卡牌服务端(功能开启增加开服天条件支持;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/PrintFightPower.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 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..83ec071 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
@@ -61,20 +61,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