| | |
| | | FBCommon.Notify_FBHelp(curPlayer, helpDict)
|
| | | return
|
| | |
|
| | | def OnRandomRobotJob(curNPC, lineRobotJobDict):
|
| | | ## 随机机器人职业
|
| | | tick = GameWorld.GetGameWorld().GetTick()
|
| | | playerManager = GameWorld.GetMapCopyPlayerManager()
|
| | | for index in xrange(playerManager.GetPlayerCount()):
|
| | | curPlayer = playerManager.GetPlayerByIndex(index)
|
| | | if not curPlayer:
|
| | | continue
|
| | | DoFBHelp(curPlayer, tick)
|
| | | return
|
| | |
|
| | | def DoFBOnNPCKill_Player(curNPC, curPlayer, tick):
|
| | | if curNPC.GetNPCID() in IpyGameDataPY.GetFuncEvalCfg('ElderBattlefieldRobot', 2, {}).values():
|
| | | DoFBOnKill_Player(curNPC, curPlayer, tick)
|