From ebdb30f440b48c42840f03d7a7a415aed6913150 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 03 十一月 2021 11:16:40 +0800
Subject: [PATCH] 9319 【BT3】【BT4】【BT5】【主干】集字的掉落无等级限制(去除脱机掉落表最大等级掉落限制;集字表掉落等级限制依然有效)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index 315f857..2348db3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -741,11 +741,12 @@
     if not ipyDrop:
         return
     
-    playerLV = dropPlayer.GetLV()
-    maxDropLV = ipyDrop.GetMaxDropLV()
-    if maxDropLV and playerLV > maxDropLV:
-        GameWorld.DebugLog("超过最大可掉落等级,不掉落物品!npcID=%s,playerLV(%s) > maxDropLV(%s)" % (npcID, playerLV, maxDropLV))
-        return
+    #脱机暂不限制最大等级掉落
+    #playerLV = dropPlayer.GetLV()
+    #maxDropLV = ipyDrop.GetMaxDropLV()
+    #if maxDropLV and playerLV > maxDropLV:
+    #    GameWorld.DebugLog("超过最大可掉落等级,不掉落物品!npcID=%s,playerLV(%s) > maxDropLV(%s)" % (npcID, playerLV, maxDropLV))
+    #    return
     
     playerID = dropPlayer.GetPlayerID()
     npcData = GameWorld.GetGameData().FindNPCDataByID(npcID)

--
Gitblit v1.8.0