| | |
| | | import ShareDefine
|
| | | import ReadChConfig
|
| | | import GameLogic_SealDemon
|
| | | import GameLogic_ZhuXianBoss
|
| | | import PlayerControl
|
| | | import IPY_GameWorld
|
| | | import IpyGameDataPY
|
| | |
| | | if mapID == ChConfig.Def_FBMapID_SealDemon:
|
| | | bossID = GameLogic_SealDemon.CurFBLineBOSSID()
|
| | | stoneNPCID = 0
|
| | | elif mapID == ChConfig.Def_FBMapID_ZhuXianBoss:
|
| | | bossID = GameLogic_ZhuXianBoss.CurFBLineBOSSID()
|
| | | stoneNPCID = 0
|
| | | else:
|
| | | ipyData = IpyGameDataPY.GetIpyGameDataByCondition('BOSSInfo', {'RefreshMark':refreshMark, 'MapID':mapID}, isLogNone=False)
|
| | | if not ipyData:
|
| | |
| | | isNeedShunt = ipyData.GetIsNeedShunt()
|
| | | if not bossID and not stoneNPCID:
|
| | | return
|
| | | |
| | | gameFB = GameWorld.GetGameFB()
|
| | | gameWorldMgr = GameWorld.GetGameWorld()
|
| | | isActivityBoss = False # 是否活动boss
|
| | |
| | | NPCCommon.SetDeadEx(curNPC)
|
| | |
|
| | | # 非复活线 且 不需要分流的地图 且 不是封魔坛 不允许复活
|
| | | if lineID != rebornLineID and not isNeedShunt and mapID != ChConfig.Def_FBMapID_SealDemon:
|
| | | if lineID != rebornLineID and not isNeedShunt and mapID not in [ChConfig.Def_FBMapID_SealDemon, ChConfig.Def_FBMapID_ZhuXianBoss]:
|
| | | return
|
| | |
|
| | | if isActivityBoss and activityBossRebornCount > 0:
|