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