From 532ee8a00dac025085c781f6d62f7d12072ea6b0 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 04 三月 2020 20:18:43 +0800 Subject: [PATCH] 8397 【开发】个人boss新增评级 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py | 12 ++++++++++++ 1 files changed, 12 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 5f2a6cc..22314e3 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py @@ -935,6 +935,18 @@ callFunc(tick) return +def OnCustomSceneProcess(curPlayer, tick): + customMapID = PlayerControl.GetCustomMapID(curPlayer) + if not customMapID: + return + customLineID = PlayerControl.GetCustomLineID(curPlayer) + do_FBLogic_ID = __GetFBLogic_MapID(customMapID) + callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnCustomSceneProcess")) + if callFunc: + callFunc(curPlayer, customMapID, customLineID, tick) + + return + ## 开始采集 # @param curPlayer 当前玩家 # @param curNPC 当前NPC -- Gitblit v1.8.0