hxp
2019-07-18 d59558c04b788dc2a56ae4348f055030b49b23b7
4546 【主干】灵宠获得活跃突破3000后再次获得会变重置成3000点
1个文件已修改
5 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -311,7 +311,10 @@
    if isLVUp:
        updPoint = min(ChConfig.Def_UpperLimit_DWord, curPoint + addValue)
    else:
        updPoint = min(IpyGameDataPY.GetFuncCfg('ImmortalDomainActivePoint'), curPoint + addValue)
        maxPoint = IpyGameDataPY.GetFuncCfg('ImmortalDomainActivePoint', 1)
        if maxPoint and curPoint >= maxPoint:
            return
        updPoint = curPoint + addValue
    __SetPDictValue(curPlayer, ChConfig.Def_PDict_ActivityCanCostTotalPoint, updPoint)
    return