From 5619e084f4f0e33e30d92cfe5c9ab78c13243171 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 12 九月 2019 19:53:48 +0800 Subject: [PATCH] 8262 【主干】【后端】仙盟宴会及传功优化 --- 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 65974e4..daded9d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBLogic.py @@ -798,6 +798,18 @@ #执行副本逻辑 return callFunc(curPlayer, mapID, lineID) +## 是否可以获得副本地图区域经验 +def OnCanGetAreaExp(curPlayer, mapID): + do_FBLogic_ID = __GetFBLogic_MapID(mapID) + + callFunc = GameWorld.GetExecFunc(FBProcess, "GameLogic_%s.%s" % (do_FBLogic_ID, "OnCanGetAreaExp")) + + if callFunc == None: + return True + + #执行副本逻辑 + return callFunc(curPlayer) + ## 是否可以开始收集 # @param curPlayer 当前玩家 # @param curNPC 物品NPC -- Gitblit v1.8.0