| | |
| | | # @return 返回值无意义
|
| | | # @remarks 开启副本
|
| | | def OnOpenFB(tick):
|
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | bossID = CurFBLineBOSSID(lineID)
|
| | | if not bossID:
|
| | | return
|
| | | key = ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn % bossID
|
| | | GameWorld.GetGameWorld().SetGameWorldDict(key, 1)
|
| | | GameWorld.DebugLog(' ˢBOSSbossID=%s' % bossID)
|
| | |
|
| | | return
|
| | |
|
| | | ## 进副本
|
| | |
| | | playerID = curPlayer.GetPlayerID()
|
| | |
|
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | |
| | | gameFB = GameWorld.GetGameFB()
|
| | | playerCnt = GameWorld.GetGameWorld().GetMapCopyPlayerManager().GetPlayerCount()
|
| | | GameWorld.DebugLog("DoEnterFB...playerCnt=%s,lineID=%s" % (playerCnt, lineID), playerID)
|
| | | |
| | | if lineID < 0:
|
| | | overTick = gameFB.GetGameFBDictByKey(FBDict_IsOver)
|
| | | if lineID < 0 or overTick:
|
| | | PlayerControl.PlayerLeaveFB(curPlayer)
|
| | | return
|
| | | hadDelTicket = FBCommon.GetHadDelTicket(curPlayer)
|
| | |
| | |
|
| | | UpdateHurtInfo(curPlayer, 0, True)
|
| | |
|
| | | gameFB = GameWorld.GetGameFB()
|
| | | |
| | | # 上鼓舞buff
|
| | | encourageLV = gameFB.GetPlayerGameFBDictByKey(playerID, FBPlayerDict_EncourageLV)
|
| | | if encourageLV > 0:
|