| | |
| | | callFunc(curPlayer, curNPC)
|
| | | return
|
| | |
|
| | | ## 退出采集
|
| | | def OnExitCollect(curPlayer, curNPC):
|
| | | do_FBLogic_ID = __GetFBLogic_MapID(GameWorld.GetMap().GetMapID())
|
| | | callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnExitCollect"))
|
| | | if callFunc:
|
| | | callFunc(curPlayer, curNPC)
|
| | | return
|
| | |
|
| | | ## 收集中(家族战副本中的棋和塔)
|
| | | # @param curPlayer 当前玩家
|
| | | # @param tick 当前时间
|
| | |
| | |
|
| | | return callFunc(curNPC)
|
| | |
|
| | | def OnRandomRobotJob(curNPC, lineRobotJobDict):
|
| | | ## 随机机器人职业
|
| | | do_FBLogic_ID = __GetFBLogic_MapID(GameWorld.GetMap().GetMapID())
|
| | | |
| | | callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnRandomRobotJob"))
|
| | | |
| | | if callFunc == None:
|
| | | return
|
| | | |
| | | return callFunc(curNPC, lineRobotJobDict)
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | | ## 杀怪奖励是否给最后一个补刀的玩家
|
| | | # @param 无
|