| | |
| | | elif mapID == ChConfig.Def_FBMapID_DemonKing:
|
| | | bossID = GameLogic_CrossDemonKing.GetCurFBLineBOSSID(mapID, lineID)
|
| | | extendParamList = [bossID]
|
| | | |
| | | elif mapID in ChConfig.Def_MapID_LineIDToPropertyID:
|
| | | enterCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_EnterFbCntDay % mapID)
|
| | | extendParamList = [enterCnt]
|
| | | SendToGameServerEnterFB(curPlayer, mapID, lineID, tick, extendParamList)
|
| | | return
|
| | |
|
| | |
| | | import FBCommon
|
| | | import ChConfig
|
| | | import IpyGameDataPY
|
| | | import random
|
| | | #---------------------------------------------------------------------
|
| | | #全局变量
|
| | | #---------------------------------------------------------------------
|
| | |
| | | sameLineGameWorldList.append([gameWorld, curPlayerCnt])
|
| | | findGameWorld = None
|
| | | if sameLineGameWorldList:
|
| | | #若是进入过副本则随机一个,否则选人数最少的一个
|
| | | enterCnt = packCMDList[2]
|
| | | if enterCnt:
|
| | | findGameWorld = random.choice(sameLineGameWorldList)[0]
|
| | | else:
|
| | | sameLineGameWorldList.sort(key=lambda asd:asd[1])
|
| | | findGameWorld = sameLineGameWorldList[0][0]
|
| | | elif firstEmptyGameWorld:
|