From 586febfe813233aa833385095d2ac003ee6818dc Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 23 五月 2022 17:00:15 +0800 Subject: [PATCH] 9415 【BT】【后端】古神战场(战场帮助信息同步优化;个人buff支持触碰采集;去除复活后无法出战宠物多余提示) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py index c668d83..6951c7d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py @@ -971,6 +971,14 @@ 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 当前时间 @@ -1475,6 +1483,17 @@ 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 无 -- Gitblit v1.8.0