| | |
| | | if GameWorld.IsCrossServer():
|
| | | __DoRefreshWorldBossCrossServer(npcRefresh, tick)
|
| | | return
|
| | | rebornLineID = 0
|
| | | mapID = GameWorld.GetMap().GetMapID()
|
| | | refreshMark = npcRefresh.GetRefreshMark()
|
| | | lineID = GameWorld.GetGameWorld().GetLineID()
|
| | |
| | | bossID = GameLogic_ZhuXianBoss.CurFBLineBOSSID()
|
| | | stoneNPCID = 0
|
| | | else:
|
| | | ipyData = IpyGameDataPY.GetIpyGameDataByCondition('BOSSInfo', {'RefreshMark':refreshMark, 'MapID':mapID}, isLogNone=False)
|
| | | ipyDataList = IpyGameDataPY.GetIpyGameDataByCondition('BOSSInfo', {'RefreshMark':refreshMark, 'MapID':mapID}, True, isLogNone=False)
|
| | | if not ipyDataList:
|
| | | return
|
| | | if len(ipyDataList) == 1:
|
| | | ipyData = ipyDataList[0]
|
| | | else:
|
| | | # 同地图同标试点有多条数据的则为不同指定分线
|
| | | ipyData = None
|
| | | for ipyD in ipyDataList:
|
| | | refreshLine = ipyD.GetRefreshLine()
|
| | | rebornLineID = refreshLine - 1
|
| | | if rebornLineID == lineID:
|
| | | ipyData = ipyD
|
| | | break
|
| | | if not ipyData:
|
| | | return
|
| | | stoneNPCID = ipyData.GetStoneNPCID()
|
| | |
| | | bosskey = ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn % bossID
|
| | | rebornBossState = gameWorldMgr.GetGameWorldDictByKey(bosskey)
|
| | |
|
| | | rebornLineID = 0
|
| | | activityLineID = 0 # 活动线, 默认1线
|
| | | activityMapLineDict = IpyGameDataPY.GetFuncEvalCfg("MapLine", 2, {})
|
| | | if mapID in activityMapLineDict:
|