hxp
2025-12-02 1dd273126494e6f8ffd7a994b637f45ad1128191
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerSuccess.py
@@ -35,10 +35,10 @@
    
#成就完成进度
def GetSuccValue(curPlayer, succType, conds):
    condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
    condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
    return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SuccessValue % (succType, condition))
def SetSuccValue(curPlayer, succType, conds, value):
    condition = "" if not conds else str(conds).replace(" ", "")[1:-1]
    condition = "" if not conds else str(list(conds)).replace(" ", "")[1:-1]
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SuccessValue % (succType, condition), value)
    return
@@ -292,8 +292,8 @@
        for index in range(ipyDataMgr.GetSuccessCount()):
            ipyData = ipyDataMgr.GetSuccessByIndex(index)
            # 已领取的不发 
            if GetSuccHasGot(curPlayer, ipyData.GetSuccID()):
                continue
            #if GetSuccHasGot(curPlayer, ipyData.GetSuccID()):
            #    continue
            succType = ipyData.GetSuccType()
            conds = ipyData.GetCondition()
            tcList = [succType, conds]