| | |
| | | Help_isHelp = 'isHelp' #本次是否是助战
|
| | | Help_helpCount = 'helpCount' #该副本今日已助战次数
|
| | | Help_relation = 'relation' #该副本关系加成信息 [优先关系, 总加成]
|
| | | Help_robotJob = 'robotJob' #机器人职业 {"ObjID":job, ...}
|
| | |
|
| | | #副本结算信息通用key
|
| | | Over_dataMapID = 'dataMapID' #数据地图ID
|
| | |
| | | gameFB.SetGameFBDict(ChConfig.Def_FB_NPCStrengthenMaxLV, maxLV)
|
| | | GameWorld.Log("NPC成长动态等级变更: isLeave=%s,totalLV=%s,playerCnt=%s,averageLV=%s,maxLV=%s"
|
| | | % (isLeave, totalLV, playerCnt, averageLV, maxLV), playerID)
|
| | | # 上古战场特殊处理
|
| | | if mapID == ChConfig.Def_FBMapID_ElderBattlefield:
|
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | fbLineIpyData = GetFBLineIpyData(mapID, lineID)
|
| | | lvLimitMin = 0 if not fbLineIpyData else fbLineIpyData.GetLVLimitMin()
|
| | | robotLVDiff = IpyGameDataPY.GetFuncCfg("ElderBattlefieldCfg", 5)
|
| | | robotLVMin, robotLVMax = averageLV - robotLVDiff, averageLV
|
| | | robotLVMin = max(lvLimitMin, robotLVMin)
|
| | | gameFB.SetGameFBDict(ChConfig.Def_FB_NPCStrengthenMaxLV, robotLVMax)
|
| | | gameFB.SetGameFBDict(ChConfig.Def_FB_NPCStrengthenMinLV, robotLVMin)
|
| | | GameWorld.Log(" 更新上古机器人等级范围: lineID=%s,robotLVDiff=%s,robotLV=(%s~%s)" % (lineID, robotLVDiff, robotLVMin, robotLVMax))
|
| | | return True
|
| | |
|
| | | def UpdFBLineNPCStrengthenPlayerCnt(playerID, isLeave):
|