| | |
| | | washLV = min(washLV, maxWashLV)
|
| | | washType = GetEquipWashType(equipPlace)
|
| | | if washType is None:
|
| | | return
|
| | | return 0
|
| | | washData = GetEquipWashData(washType, washLV)
|
| | | if not washData:
|
| | | return
|
| | | return 0
|
| | | #GameWorld.DebugLog("装备位属性: equipPlace=%s,washLV=%s" % (equipPlace, washLV))
|
| | | for attrNum in range(1, Def_EquipWashMaxAttrCount + 1):
|
| | | attrID = getattr(washData, "GetAttrType%s" % attrNum)()
|
| | |
| | | if attrValue:
|
| | | PlayerControl.CalcAttrDict_Type(attrID, attrValue, allAttrList)
|
| | | baseAttrDictWash[attrID] = baseAttrDictWash.get(attrID, 0) + attrValue
|
| | | return
|
| | | return washLV
|
| | |
|
| | | def EquipWashSuccess(curPlayer, classLV):
|
| | | ipyDataList = IpyGameDataPY.GetIpyGameDataByCondition('EquipPlaceIndexMap', {'ClassLV':classLV}, True)
|