From e3a68a9e7c07b0832139a21afb6de8b8abe32832 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 26 四月 2019 09:58:38 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(物品职业限制判断修改)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 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 673aadb..b5607c5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -1222,7 +1222,7 @@
                     itemData = GameWorld.GetGameData().GetItemByTypeID(itemID)
                     if not itemData:
                         continue
-                    itemJob = itemData.GetJobLimit() / 100
+                    itemJob = itemData.GetJobLimit()
                     if itemJob and itemJob != curPlayer.GetJob():
                         # 非本职业可用,不掉落
                         GameWorld.DebugLog("全服击杀次数必掉,非本职业可用,不掉落! itemID=%s" % itemID)
@@ -1236,7 +1236,7 @@
                         itemData = GameWorld.GetGameData().GetItemByTypeID(rItemID)
                         if not itemData:
                             continue
-                        itemJob = itemData.GetJobLimit() / 100
+                        itemJob = itemData.GetJobLimit()
                         if itemJob and itemJob != curPlayer.GetJob():
                             # 非本职业可用,不掉落
                             GameWorld.DebugLog("全服击杀次数必掉随机,非本职业可用,不掉落! rItemID=%s" % rItemID)
@@ -1275,7 +1275,7 @@
                     if itemData.GetItemColor() != color:
                         continue
                     suiteID = itemData.GetSuiteID()
-                    itemJob = itemData.GetJobLimit() / 100
+                    itemJob = itemData.GetJobLimit()
                     itemPlace = itemData.GetEquipPlace()
                     itemID = itemData.GetItemTypeID()
                     if itemPlace not in filterItemIDDict:
@@ -1401,7 +1401,7 @@
             if not itemData:
                 GameWorld.ErrLog("掉落物品ID不存在, dropItemID=%s" % dropItemID)
                 continue
-            itemJob = itemData.GetJobLimit() / 100
+            itemJob = itemData.GetJobLimit()
             if isJobLimit and itemJob and itemJob != curPlayer.GetJob():
                 # 非本职业可用,不掉落
                 #GameWorld.DebugLog("非本职业可用,不掉落! dropItemID=%s" % dropItemID)

--
Gitblit v1.8.0