| | |
| | | import IpyGameDataPY
|
| | | import NPCCommon
|
| | | import ChConfig
|
| | | import FBLogic
|
| | | import os
|
| | |
|
| | | def OnExec(curPlayer, paramList):
|
| | |
| | | else:
|
| | | funcLineID = paramList[1] if len(paramList) > 1 else 0
|
| | | fbLineIpyData = FBCommon.GetFBLineIpyData(mapID, funcLineID)
|
| | | if not fbLineIpyData:
|
| | | GameWorld.DebugAnswer(curPlayer, "不存在该副本关卡! %s-%s" % (mapID, funcLineID))
|
| | | return
|
| | | lineupIDList = fbLineIpyData.GetLineupIDList()
|
| | | strongerLV = fbLineIpyData.GetNPCLV()
|
| | | difficulty = fbLineIpyData.GetDifficulty()
|
| | | if fbLineIpyData:
|
| | | lineupIDList = fbLineIpyData.GetLineupIDList()
|
| | | strongerLV = fbLineIpyData.GetNPCLV()
|
| | | difficulty = fbLineIpyData.GetDifficulty()
|
| | | else:
|
| | | ret = FBLogic.GetFBNPCLineupInfo(curPlayer, mapID, funcLineID)
|
| | | if not ret:
|
| | | GameWorld.DebugAnswer(curPlayer, "不存在该副本关卡! %s-%s" % (mapID, funcLineID))
|
| | | return
|
| | | lineupIDList, strongerLV, difficulty = ret
|
| | | |
| | | GameWorld.DebugAnswer(curPlayer, "副本关卡: %s-%s" % (mapID, funcLineID))
|
| | |
|
| | | __printNPCLineupAttr(curPlayer, lineupIDList, strongerLV, difficulty)
|