From 545986a8fdde345b28cf3004be84c6cfe79a3dc1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 19 四月 2019 11:29:12 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(跨服分区逻辑优化,支持跨服妖王分区状态同步)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py
index a18207e..aaee95e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FairyTreasure.py
@@ -30,6 +30,7 @@
 import ChPlayer
 import EventReport
 import ChNPC
+import ItemCommon
 
 
 FBPlayerDict_CurStep = 'FBPlayerDict_CurStep'   # 当前阶段
@@ -350,7 +351,7 @@
                 itemData = GameWorld.GetGameData().GetItemByTypeID(itemID)
                 if not itemData:
                     return
-                if curAlchemyLV < itemData.GetLV() - 1:
+                if curAlchemyLV < ItemCommon.GetItemClassLV(itemData) - 1:
                     #丹炉等级不足
                     continue
     
@@ -359,7 +360,7 @@
                 continue
             randomitem = GameWorld.GetResultByWeightList(newItemInfoList)
             giveItemList.append(randomitem)
-            for _ in randomitem[1]:
+            for _ in xrange(randomitem[1]):
                 dropItemList.append([randomitem[0],1,randomitem[2]])
         
     if giveItemList:

--
Gitblit v1.8.0