From f3aa003e00d2111fc321ac182e1360b3bb11b2af Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 23 十一月 2018 23:41:38 +0800
Subject: [PATCH] 4997 【后端】【1.3】冰晶矿脉AI--添加全图搜索逻辑

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
index 3c8e618..97dfced 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_BZZD.py
@@ -33,6 +33,7 @@
 import PlayerBossReborn
 import PlayerFairyCeremony
 import ItemControler
+import GameFuncComm
 import SkillShell
 import BuffSkill
 
@@ -251,6 +252,12 @@
 
 def CheckHurtBuff(curPlayer, tick, isAdd=True):
     #人物等级低于世界等级X级,单人挑战仙界密境获得伤害BUFF加成
+    if not GameFuncComm.GetFuncCanUse(curPlayer, ShareDefine.GameFuncID_WorldLV):
+        return
+    playerID = curPlayer.GetID()
+    enterLV = GameWorld.GetGameFB().GetPlayerGameFBDictByKey(playerID, FBPlayerDict_EnterLV)
+    if enterLV < GameFuncComm.GetFuncLimitLV(ShareDefine.GameFuncID_WorldLV):
+        return
     curLV = curPlayer.GetLV()
     worldlv = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)
     buffID = IpyGameDataPY.GetFuncCfg('XjmjAddHarm', 2)

--
Gitblit v1.8.0