hxp
2023-03-09 d7415e1acc3cfaae895597d889bf4f5d56d85ad0
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py
@@ -311,6 +311,8 @@
    if not ipyDataList:
        return
    
    totalStarLV = ChEquip.GetTotalEquipStars(curPlayer)
    classStarLV = 0
    starCountDict = {}
    for ipyData in ipyDataList:
        index = ipyData.GetGridIndex()
@@ -319,8 +321,11 @@
            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