|  |  |  | 
|---|
|  |  |  | itemDict["UserData"] = itemInfo.GetUserData() | 
|---|
|  |  |  | return itemDict | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetWeightItemListByAlchemyDiffLV(curPlayer, weightList, alchemyDiffLV): | 
|---|
|  |  |  | ## 根据炼丹等级差异等级过滤权重列表中不满足的物品,返回新的权重列表 | 
|---|
|  |  |  | resultWeightList = [] | 
|---|
|  |  |  | if alchemyDiffLV: | 
|---|
|  |  |  | curAlchemyLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_AlchemyLV) | 
|---|
|  |  |  | for itemInfo in weightList: | 
|---|
|  |  |  | itemID = itemInfo[1][0] | 
|---|
|  |  |  | itemData = GameWorld.GetGameData().GetItemByTypeID(itemID) | 
|---|
|  |  |  | if not itemData: | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | if GetItemClassLV(itemData) > curAlchemyLV + alchemyDiffLV: | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | resultWeightList.append(itemInfo) | 
|---|
|  |  |  | else: | 
|---|
|  |  |  | resultWeightList = weightList | 
|---|
|  |  |  | return resultWeightList | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ## ======================================================================================= | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def SyncMakeItemAnswer(curPlayer, makeType, isSuccess, makeItemID): | 
|---|