| | |
| | | if not ipyDataList:
|
| | | return
|
| | |
|
| | | totalStarLV = ChEquip.GetTotalEquipStars(curPlayer)
|
| | | classStarLV = 0
|
| | | starCountDict = {}
|
| | | for ipyData in ipyDataList:
|
| | | index = ipyData.GetGridIndex()
|
| | |
| | | continue
|
| | | conditionKey = (classLV, equipStar)
|
| | | starCountDict[conditionKey] = starCountDict.get(conditionKey, 0) + 1
|
| | | classStarLV += equipStar
|
| | |
|
| | | #GameWorld.DebugLog("升星成就数据: classLV=%s,starCountDict=%s" % (classLV, starCountDict))
|
| | | #GameWorld.DebugLog("升星成就数据: classLV=%s,starCountDict=%s,classStarLV=%s,totalStarLV=%s" % (classLV, starCountDict, classStarLV, totalStarLV))
|
| | | PlayerSuccess.UpdateSuccessProgressByConditions(curPlayer, ShareDefine.SuccType_EquipStar, starCountDict)
|
| | | PlayerSuccess.UptateSuccessProgress(curPlayer, ShareDefine.SuccType_EquipStarTotal, totalStarLV)
|
| | | PlayerSuccess.UptateSuccessProgress(curPlayer, ShareDefine.SuccType_EquipStarClass, classStarLV, [classLV])
|
| | | return
|
| | |
|