From 50086ccb3ade4bdc47b32af7e097ec9e2c2d3f88 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 25 八月 2025 18:35:04 +0800
Subject: [PATCH] 1111 删除不需要内容;
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
index 057f614..1ebb559 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
@@ -1986,13 +1986,6 @@
itemName = str(itemID) if not curItemData else curItemData.GetName()
itemName = "%s LV%s" % (itemName, plusLV + 1)
isNeedRecord = curItemData and ItemControler.IsRuneItemNeedRecord(curItemData, plusLV)
- if packIndex == ShareDefine.rptGatherSoul:
- itemID = ItemControler.GetGatherSoulItemID(itemKeyData)
- plusLV = ItemControler.GetGatherSoulItemPlusLV(itemKeyData)
- curItemData = GameWorld.GetGameData().GetItemByTypeID(itemID)
- itemName = str(itemID) if not curItemData else curItemData.GetName()
- itemName = "%s LV%s" % (itemName, plusLV + 1)
- isNeedRecord = curItemData and ItemControler.IsGatherSoulItemNeedRecord(curItemData, plusLV)
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_VPackItem % (packIndex, place), 0)
if isNeedRecord:
@@ -2139,27 +2132,6 @@
@param alchemyDiffLV: 是否过滤掉大于X级的炼丹等级物品,0-不过滤,1-过滤且读默认配置,>1-特殊功能指定的过滤等级
'''
resultWeightList = []
- itemNeedPlayerLVDict = IpyGameDataPY.GetFuncEvalCfg("AlchemyDiffLV", 2, {})
- if alchemyDiffLV or itemNeedPlayerLVDict:
- playerLV = curPlayer.GetLV()
- # 如果有指定大于1的等级则取指定等级,没有的话取默认等级差
- if alchemyDiffLV == 1:
- alchemyDiffLV = IpyGameDataPY.GetFuncCfg("AlchemyDiffLV", 1)
- curAlchemyLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_AlchemyLV)
- for itemInfo in weightList:
- itemID = itemInfo[1][0]
- if itemID: # 支持配置ID为0时代表不产出
- itemData = GameWorld.GetGameData().GetItemByTypeID(itemID)
- if not itemData:
- continue
- if GetItemClassLV(itemData) > curAlchemyLV + alchemyDiffLV:
- continue
- if itemID in itemNeedPlayerLVDict:
- if playerLV < itemNeedPlayerLVDict[itemID]:
- continue
- resultWeightList.append(itemInfo)
- else:
- resultWeightList = weightList
return resultWeightList
## =======================================================================================
--
Gitblit v1.8.0