| | |
| | | itemLV = random.choice(randLVList)
|
| | | equipAttrDict[str(ShareDefine.Def_IudetItemLV)] = itemLV
|
| | |
|
| | | GameWorld.DebugLog("生成命格卦玉: itemID=%s,itemLV=%s,itemColor=%s,itemType=%s" % (itemID, itemLV, itemColor, itemType), playerID)
|
| | | GameWorld.DebugLog("生成命格卦玉: gwLV=%s,itemID=%s,itemLV=%s,itemColor=%s,itemType=%s" % (gwLV, itemID, itemLV, itemColor, itemType), playerID)
|
| | | legendAttrIDList = setAttrDict.get(str(ShareDefine.Def_IudetLegendAttrID))
|
| | | legendAttrValueList = setAttrDict.get(str(ShareDefine.Def_IudetLegendAttrValue))
|
| | | if legendAttrIDList != None and legendAttrValueList != None and len(legendAttrIDList) == len(legendAttrValueList):
|
| | |
| | | else:
|
| | | fixedAttrID = typeIpyData.GetFixedAttrID() # 固定属性
|
| | | attrIDLib = typeIpyData.GetAttrIDLib() # 随机属性库
|
| | | libAttrCnt = colorIpyData.GetAttrLibCnt() # 随机属性个数
|
| | | |
| | | libAttrCnt = 0 # 随机属性个数
|
| | | libAttrCntNeedLVList = IpyGameDataPY.GetFuncEvalCfg("MinggeCfg", 1)
|
| | | for needGWLV in libAttrCntNeedLVList:
|
| | | if gwLV >= needGWLV:
|
| | | libAttrCnt += 1
|
| | | else:
|
| | | break
|
| | | attrRangeDefault = colorIpyData.GetAttrRange()
|
| | | attrRangeDict = colorIpyData.GetAttrRangeDict()
|
| | |
|