| | |
| | | import GameWorld
|
| | | import ChConfig
|
| | | import PlayerControl
|
| | | import FamilyRobBoss
|
| | | import EventShell
|
| | | import FBLogic
|
| | | import FBCommon
|
| | |
| | | return
|
| | |
|
| | | #特殊副本,不执行这个逻辑
|
| | | if not GameWorld.GetMap().GetAutoSize():
|
| | | if not IsNoPlayerNeedCloseFB():
|
| | | return
|
| | |
|
| | | gameFB = GameWorld.GetGameFB()
|
| | |
| | | __RefreshOnFiveMinute(tick)
|
| | | #定时检测关闭超时文件
|
| | | EventReport.OnTimeCloseScribeTxt()
|
| | | |
| | | #仙盟归属boss定时处理
|
| | | FamilyRobBoss.OnFamilyOwnerBossProcess(tick)
|
| | | return
|
| | |
|
| | | ## 通知RouteServer 消息
|
| | |
| | | if gameMap.GetMapFBType() == 0:
|
| | | return
|
| | |
|
| | | if gameMap.GetAutoSize() == 0:
|
| | | #只处理自动是否的地图
|
| | | if not IsNoPlayerNeedCloseFB():
|
| | | return
|
| | |
|
| | | playerManager = gameWorld.GetMapCopyPlayerManager()
|
| | |
| | | __CloseFB(GameWorld.GetGameWorld(), GameWorld.GetGameWorld().GetTick())
|
| | |
|
| | |
|
| | | def IsNoPlayerNeedCloseFB():
|
| | | ## 副本中无玩家是否需要自动关闭的副本
|
| | | return GameWorld.GetMap().GetAutoSize() and GameWorld.GetMap().GetMapID() not in ChConfig.Def_NoPlayerNotCloseAutoSizeMap
|
| | |
|
| | | #//08 06 根据国家统计的玩家数目#tagMPlayerCountByCountry
|
| | | #tagMPlayerCountByCountry * GettagMPlayerCountByCountry();
|