From 54531eb1ab1a76b508129e21ec5b7c32a1c7d0dc Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 10 一月 2019 17:43:10 +0800 Subject: [PATCH] 5722 【后端】【1.5】跨服BOSS开发(跨服boss地图支持挂机经验) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py index 7fc1ec5..8ae4d09 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py @@ -1504,7 +1504,8 @@ def ProcessAreaExp(curPlayer, tick): ##给场景经验 - mapID = GameWorld.GetMap().GetMapID() + crossMapID = PlayerControl.GetCrossMapID(curPlayer) + mapID = crossMapID if crossMapID else GameWorld.GetMap().GetMapID() neutralMapExpAwardDict = IpyGameDataPY.GetFuncEvalCfg('NeutralMapExpAward', 1, {}) expAwardInfo = GameWorld.GetDictValueByKey(neutralMapExpAwardDict, mapID) if not expAwardInfo: -- Gitblit v1.8.0