| | |
| | | exp = eval(IpyGameDataPY.GetFuncCompileCfg('GatherSoulLevelUp'))
|
| | | g_GatherSoulLVExpDict[lv] = exp
|
| | |
|
| | | qualityPerDict = IpyGameDataPY.GetFuncEvalCfg('GatherSoulLevelUp', 2, {})
|
| | | if itemColor in qualityPerDict:
|
| | | exp *= float(qualityPerDict[itemColor])
|
| | | qualityPerDict = IpyGameDataPY.GetFuncEvalCfg('GatherSoulLevelUp', 2, {}).get(str(itemData.GetType()), {})
|
| | | if str(itemColor) in qualityPerDict:
|
| | | exp *= float(qualityPerDict[str(itemColor)])
|
| | |
|
| | | attrTypeCnt = len(ipyData.GetAttrType())
|
| | | specialPer = IpyGameDataPY.GetFuncEvalCfg('GatherSoulLevelUp', 3, {}).get(attrTypeCnt, 1)
|
| | |
| | | return
|
| | |
|
| | |
|
| | | def __GetGatherSoulSplitMaterial(gathersoulID, soulidList=[], soulSplinters=0, soulCore=0):
|
| | | def __GetGatherSoulSplitMaterial(gathersoulID):
|
| | | ##拆解多属性聚魂 返回单属性聚魂ID,材料
|
| | | soulidList, soulSplinters, soulCore= [], 0, 0
|
| | | compoundIpyData = IpyGameDataPY.GetIpyGameDataNotLog('GatherSoulCompound', gathersoulID)
|
| | | if compoundIpyData:
|
| | | materialList = compoundIpyData.GetNeedItem()
|