| | |
| | | #导入
|
| | | import GameLogic_ZhuXianBoss
|
| | | import GameLogic_HorsePetBoss
|
| | | import GameLogic_AllFamilyBoss
|
| | | import GameWorld
|
| | | import IPY_GameWorld
|
| | | import ChConfig
|
| | |
| | | playerCnt = playerManager.GetPlayerCount()
|
| | | hpPer = GameLogic_HorsePetBoss.GetBossRemainHPPer(fblineID, tick)
|
| | | fbLinePlayerCntDict[fblineID] = [playerCnt, str(hpPer)]
|
| | | elif tagMapID == ChConfig.Def_FBMapID_AllFamilyBoss:
|
| | | for index in xrange(gameWorldManager.GetGameWorldCount()):
|
| | | gameWorld = IPY_GameWorld.IPY_GameWorld(index)
|
| | | playerManager = gameWorld.GetMapCopyPlayerManagerByFbIndex(index)
|
| | | fblineID = gameWorld.GetPropertyID() - 1
|
| | | if fblineID < 0:
|
| | | continue
|
| | | if not isAllLine and tagFBLineID != fblineID:
|
| | | continue
|
| | | playerCnt = playerManager.GetPlayerCount()
|
| | | hpPer = GameLogic_AllFamilyBoss.GetBossRemainHPPer(tick)
|
| | | fbLinePlayerCntDict[fblineID] = [playerCnt, str(hpPer)]
|
| | | else:
|
| | | return
|
| | | return [tagMapID, fbLinePlayerCntDict]
|