From ba674caa1427c6dbe0246b27f85262a44fbb7a2b Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期四, 13 六月 2019 19:23:41 +0800 Subject: [PATCH] 860312 副本地图上线切换才加无敌buff --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py index 52b00b2..0d561bb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -1034,8 +1034,8 @@ #切地图要清除的buff __CheckClearBuffOnMapChange(curPlayer, tick) - #上线和切地图加有限无敌Buff - if curPlayer.GetLV() > 50: + if GameWorld.GetMap().GetMapFBType() != IPY_GameWorld.fbtNull: + #副本地图上线切换才加无敌buff SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer, ChConfig.Def_SkillID_LimitSuperBuff, tick) #刷新玩家的视野 -- Gitblit v1.8.0