| | |
| | | return
|
| | | curPlayer.Sync_TimeTick(IPY_GameWorld.tttTowerTake, 0, closeFB_RemainTick, True)
|
| | |
|
| | | if not FBCommon.GetHadSetFBPropertyMark():
|
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | FBCommon.SetFBPropertyMark(lineID)
|
| | | |
| | | if not FBCommon.GetHadDelTicket(curPlayer):
|
| | | FBCommon.SetHadDelTicket(curPlayer)
|
| | | if FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_ElderBattlefield):
|
| | |
| | |
|
| | | skillBuffID = IpyGameDataPY.GetFuncCfg('ElderBattlefieldRobot', 3)
|
| | | BuffSkill.DelBuffBySkillID(curPlayer, skillBuffID, tick)
|
| | | FBCommon.UpdFBLineNPCStrengthenLV(curPlayer.GetPlayerID(), True)
|
| | | return
|
| | |
|
| | |
|
| | |
| | | robotCfgDict = IpyGameDataPY.GetFuncEvalCfg('ElderBattlefieldCfg', 3, {})
|
| | | lineID = GameWorld.GetGameWorld().GetPropertyID() - 1
|
| | | if lineID not in robotCfgDict:
|
| | | return
|
| | | robotMaxLV = gameFB.GetGameFBDictByKey(ChConfig.Def_FB_NPCStrengthenMaxLV)
|
| | | if GameWorld.GetMapCopyPlayerManager().GetPlayerCount() <= 0 or not robotMaxLV:
|
| | | #GameWorld.DebugLog("没玩家,不刷机器人! ")
|
| | | return
|
| | | rmarkList = IpyGameDataPY.GetFuncEvalCfg('ElderBattlefieldRobot', 5)
|
| | | curNPCCnt = 0
|
| | |
| | | # @remarks 用于通知阵营比分条
|
| | | def DoFBHelp(curPlayer, tick):
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | lineID = gameWorld.GetLineID()
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | score = gameWorld.GetGameWorldDictByKey(FBPlayerDict_Score % playerID)
|
| | | stageScoreList = IpyGameDataPY.GetFuncEvalCfg('ElderBattlefieldCfg', 4)
|
| | |
| | | helpDict['topPlayerID'] = topPlayerID
|
| | | #helpDict[FBCommon.Help_lineID] = GameWorld.GetGameWorld().GetLineID()
|
| | | helpDict['enemyID'] = GameWorld.GetGameFB().GetPlayerGameFBDictByKey(playerID, FBPlayerDict_EnemyID)
|
| | | helpDict[FBCommon.Help_robotJob] = PyGameData.g_fbRobotJobDict.get(lineID, {})
|
| | | GameWorld.DebugLog("DoFBHelp %s" % helpDict, playerID)
|
| | | FBCommon.Notify_FBHelp(curPlayer, helpDict)
|
| | | return
|